The following tables list the members exposed by DocumentFactory.
Public Methods
Name | Description | |
---|---|---|
AbortUploadDocument | Abort uploading a document and delete all the stored data. | |
BeginUpload | Starts uploading a document to the cache. | |
CloneDocument | Clones (creates a copy) of an existing document in the cache. | |
Create | Creates a new empty document. | |
DeleteFromCache | Deletes a document from the global cache. | |
DownloadAnnotations | Downloads the annotations of the specified document URI into a stream. | |
DownloadDocument | Downloads the data of the specified document URI into a stream. | |
EndUpload | Finish uploading a document to the cache. | |
GetDocumentCacheInfo | Retrieves information for a document in the cache using its URI. | |
GetLeadCacheData | Helper method to get the data part from a LEAD cache URI. | |
IsDocumentInCache | Helper method to quickly determine if a document exists in the cache. | |
IsLeadCacheScheme | Helper method to determine whether a string value contains a valid LEAD cache URI. | |
IsUploadDocumentUri | Indicates whether the URL points to a special LEAD cache scheme. | |
LoadFromCache | Loads a previously saved document from the global cache. | |
LoadFromFile | Loads a document from existing data stored in a disk file. | |
LoadFromStream | Loads a document from existing data stored in a stream. | |
LoadFromUri | Loads a document from existing data stored in a remote URL. | |
LoadFromUriAsync | Loads a document asynchronously from existing data stored in a remote URL. | |
MakeLeadCacheUri | Constructs a LEAD cache URI from a document ID. | |
NewCacheId | Generates a new document unique ID. | |
UploadAnnotations | Uploads a chunk of external annotations data to the specified document. | |
UploadDocument | Uploads a chunk of the document to the global cache. |
Public Properties
Name | Description | |
---|---|---|
Cache | The LEADTOOLS ObjectCache object responsible for managing cache items and expiration policies. | |
DefaultDocumentResolution | The default resolution to use when loading document file formats. | |
DefaultRasterResolution | The default resolution to use when loading raster file formats that do not have a resolution. | |
DefaultVectorResolution | The default resolution to use when loading vector file formats. | |
DocumentMemoryCache | Document memory cache support. | |
InvalidUserTokenException | Custom error to be thrown when the user tries to access a document with an invalid user token. | |
MimeTypes | MIME type whitelisting support. | |
RasterCodecsTemplate | Global template used when loading and saving raster and SVG images. |
Public Events
Name | Description | |
---|---|---|
LoadDocumentFromCache | Called by the factory when loading child documents from the cache. |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document