Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dictionary<int, Collection<Rectangle>> GetDocumentCoordinates(int DocumentId)
- Dictionary<int, PageInfo> GetDocumentAttributes(int DocumentId)
- Dictionary<int, Collection<Rectangle>> GetCoordinates(int DocumentId, ref Dictionary<int, PageInfo> PageAttributes)
- class DocumentInfo
- {
- Dictionary<int, Collection<Rectangle>> Coordinates { get; set;}
- Dictionary<int, PageInfo> PageAttributes { get; set; }
- }
- DocumentInfo GetDocumentInfo(int DocumentId);
- class DocumentInfo {
- Dictionary<int, Collection<Rectangle>> rectangles = ...
- public Collection<Rectangle> GetRectangles(int index) {
- return rectangles[index]; // might want to clone to
- // protect against mutation
- }
- Dictionary<int, PageInfo> pages = ...
- public PageInfo GetPageInfo(int index) {
- return pages[index];
- }
- }
Add Comment
Please, Sign In to add comment