The following tables list the members exposed by Document.
Protected Constructors
Name | Description | |
---|---|---|
Document | Initializes a new instance of Document. |
Public Methods
Name | Description | |
---|---|---|
CreateCacheItemPolicy | Create a new policy to be used when items of this document is cached. | |
CreateDocumentDescriptor | Creates a descritpor object that can be used to re-create this document. | |
Decrypt | Decrypt this document using the specified password. | |
DocumentToPixels | Converts a value from document units to pixels. | |
GetAnnotationsFileName | Path to the file holding the original annotations. | |
GetAnnotationsStream | Stream containing the data of the original annotations. | |
GetCache | Gets the cache object used with by this document. | |
GetCacheKeys | Get the cache keys used by this document. | |
GetDocumentFileName | Path to the file holding the original document. | |
GetDocumentStream | Stream containing the data of the original document. | |
LockStreams | Lock the document and annotation streams to be used by the current thread only. | |
PixelsToDocument | Converts a value from pixels to document units. | |
PointToDocument | Converts a point from pixels to document units. | |
PointToPixels | Converts a point from document units to pixels. | |
RectToDocument | Converts a rectangle from pixels to document units. | |
RectToPixels | Converts a rectangle from document units to pixels. | |
SaveToCache | Saves the document to the cache. | |
SaveToFile | Exports this document to the specified file using the specified format. | |
SaveToUri | Exports this document to the specified remote URL using the specified format. | |
SizeToDocument | Converts a size from pixels to document units. | |
SizeToPixels | Converts a size from document units to pixels. | |
UnlockStreams | Unlock the document and annotation streams from the current thread. | |
UpdateFromDocumentDescriptor | Update this document from a descriptor. |
Protected Methods
Name | Description | |
---|---|---|
Dispose | Releases all resources used by this Document. | |
Finalize | This method overrides System.Object.Finalize |
Public Properties
Name | Description | |
---|---|---|
Annotations | Object that manages the annotations of the document. | |
AutoDeleteFromCache | Indicates whether to delete all the entries that belong to this document from the cache when it is disposed. | |
AutoDisposeDocuments | Indicates whether to automatically dispose any child documents. | |
AutoSaveToCache | Indicates whether to automatically save the document to the cache before it is disposed. | |
Barcodes | Object that manages the barcodes of the document. | |
CacheOptions | Determines which part of the document will be stored in the cache. | |
CacheStatus | The cache status of this document. | |
CacheUri | The URL to the original document's image data if it was stored in the cache. | |
DocumentId | Unique identifier of this document. | |
Documents | Object that manages the children of this document. | |
DocumentType | Document type. | |
FileLength | Length of the original document file or URL. | |
Format | Gets the LEADTOOLS raster image format identifier for this document. | |
HasAnnotationsStream | Indicates that the document has a valid stream containing the data of the original annotations. | |
HasCache | Indicates whether this Document is using the cache. | |
HasDocuments | Determine whether this document has children. | |
HasStream | Indicates that the document has a valid stream containing the data of the original document. | |
Images | Object that manages the raster and SVG image settings of the document. | |
InternalObject | Internal LEADTOOLS object used with the document. | |
IsDecrypted | Indicates whether this document has been decrypted. | |
IsDownloaded | Indicates if this document was downloaded. | |
IsEncrypted | Indicates whether this document is encrypted. | |
IsLocal | Indicate that this document has been created by the user. | |
IsReadOnly | Indicates that this document is read-only and cannot be modified. | |
IsStructureSupported | Determines if the document structure is supported. | |
LastCacheSyncTime | Timestamp of when the document was last saved to the cache sucessfully. | |
Metadata | Object that manages the metadata of the document. | |
MimeType | MIME type of the document. | |
Name | Name of the document. | |
Pages | Object that manages the pages of the document. | |
RasterCodecs | Object that is used to load or save raster images and SVG documents. | |
Stream | Original document stream. | |
Structure | Object that manages the structure and table of content of the document. | |
Text | Object that manages the text and OCR recognition settings of the document. | |
Uri | URL to the original document physical location. | |
UserData | The user-defined data associated with this document. |
Public Fields
Name | Description | |
---|---|---|
UnitsPerInch | Number of units per inch used for document coordinates. |