←Select platform
In This Topic ▼

DocumentFactory Class Members

Summary

The following tables list the members exposed by DocumentFactory.

Public Methods

Name Description
Public Method static  | Shared in VB AbortUploadDocument Abort uploading a document and delete all the stored data.
Public Method static  | Shared in VB BeginUpload Starts uploading a document to the cache.
Public Method static  | Shared in VB CloneDocument Clones (creates a copy) of an existing document in the cache.
Public Method static  | Shared in VB Create Creates a new empty document.
Public Method static  | Shared in VB DeleteFromCache Deletes a document from the global cache.
Public Method static  | Shared in VB DownloadAnnotations Downloads the annotations of the specified document URI into a stream.
Public Method static  | Shared in VB DownloadDocument Downloads the data of the specified document URI into a stream.
Public Method static  | Shared in VB EndUpload Finish uploading a document to the cache.
Public Method static  | Shared in VB GetDocumentCacheInfo Retrieves information for a document in the cache using its URI.
Public Method static  | Shared in VB GetLeadCacheData Helper method to get the data part from a LEAD cache URI.
Public Method static  | Shared in VB IsLeadCacheScheme Helper method to determine whether a string value contains a valid LEAD cache URI.
Public Method static  | Shared in VB IsUploadDocumentUri Indicates whether the URL points to a special LEAD cache scheme.
Public Method static  | Shared in VB LoadFromCache Loads a previously saved document from the global cache.
Public Method static  | Shared in VB LoadFromFile Loads a document from existing data stored in a disk file.
Public Method static  | Shared in VB LoadFromStream Loads a document from existing data stored in a stream.
Public Method static  | Shared in VB LoadFromUri Loads a document from existing data stored in a remote URL.
Public Method static  | Shared in VB LoadFromUriAsync Loads a document asynchronously from existing data stored in a remote URL.
Public Method static  | Shared in VB MakeLeadCacheUri Constructs a LEAD cache URI from a document ID.
Public Method static  | Shared in VB NewCacheId Generates a new document unique ID.
Public Method static  | Shared in VB UploadAnnotations Uploads a chunk of external annotations data to the specified document.
Public Method static  | Shared in VB UploadDocument Uploads a chunk of the document to the global cache.

Public Properties

Name Description
Public Property static  | Shared in VB Cache The LEADTOOLS ObjectCache object responsible for managing cache items and expiration policies.
Public Property static  | Shared in VB DefaultDocumentResolution The default resolution to use when loading document file formats.
Public Property static  | Shared in VB DefaultRasterResolution The default resolution to use when loading raster file formats that do not have a resolution.
Public Property static  | Shared in VB DefaultVectorResolution The default resolution to use when loading vector file formats.
Public Property static  | Shared in VB InvalidUserTokenException Custom error to be thrown when the user tries to access a document with an invalid user token.
Public Property static  | Shared in VB MimeTypes MIME type whitelisting support.
Public Property static  | Shared in VB RasterCodecsTemplate Global template used when loading and saving raster and SVG images.

Help Version 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly