Represents a page in the current Document.
function lt.Documents.DocumentPage
class lt.Documents.DocumentPage()
DocumentPage represents a page in the current Document. It can be accessed through the Pages collection.
DocumentPages is populated with an item for each page in the original document. Each DocumentPage will have the value of Size and Resolution initialized to their corresponding value in the document. The other parts of the page are obtained on demand when the user calls the various methods.
The page uses the cache system if available, most of the page data are not kept in memory and is either read from the original document or obtained from the cache on demand. This is done to reduce the memory footprint of Document and to be able to support document with a large number of pages and data.
DocumentPage has the following features:
Member | Description |
---|---|
Size and Resolution | The size in document units and resolution in DPI of the page. |
OriginalPageNumber and PageNumber | The page number of the page in the original document (if any) and the current page number in the collection. |
GetImageUrl. | Gets a URL to the raster image representation of this page. |
GetSvgUrl. | Gets a URL to an SVG image representation of this page. |
GetSvgBackImageUrl. | Get a URL to the background SVG image of this page. |
GetLinks. | Gets an array of DocumentLink objects of this page. |
For an example, refer to LoadFromUri.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET