DocumentFactory Class Members (original) (raw)

Leadtools.Document Namespace > Classes > DocumentFactory Class > Members

←Select platform

In This Topic ▼

Summary

Public Methods

Public Properties

Public Events

See Also

Summary

The following tables list the members exposed by DocumentFactory.

Public Methods

Name Description
Public Method ![static | Shared in VB](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "static Shared in VB") AbortUploadDocument Abort uploading a document and delete all the stored data.
Public Method ![static | Shared in VB](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "static Shared in VB") BeginUpload Starts uploading a document to the cache.
Public Method ![static | Shared in VB](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "static Shared in VB") CloneDocument Clones (creates a copy) of an existing document in the cache.
Public Method ![static | Shared in VB](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "static Shared in VB") Create Creates a new empty document.
Public Method ![static | Shared in VB](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "static Shared in VB") DeleteFromCache Deletes a document from the global cache.
Public Method ![static | Shared in VB](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "static Shared in VB") DownloadAnnotations Downloads the annotations of the specified document URI into a stream.
Public Method ![static | Shared in VB](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "static Shared in VB") DownloadDocument Downloads the data of the specified document URI into a stream.
Public Method ![static | Shared in VB](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "static Shared in VB") EndUpload Finish uploading a document to the cache.
Public Method ![static | Shared in VB](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "static Shared in VB") GetDocumentCacheInfo Retrieves information for a document in the cache using its URI.
Public Method ![static | Shared in VB](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "static Shared in VB") GetLeadCacheData Helper method to get the data part from a LEAD cache URI.
Public Method ![static | Shared in VB](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "static Shared in VB") IsDocumentInCache Helper method to quickly determine if a document exists in the cache.
Public Method ![static | Shared in VB](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "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](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "static Shared in VB") IsUploadDocumentUri Indicates whether the URL points to a special LEAD cache scheme.
Public Method ![static | Shared in VB](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "static Shared in VB") LoadDocumentAttachment Loads an attachment as a LEADDocument object.
Public Method ![static | Shared in VB](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "static Shared in VB") LoadFromCache Loads a previously saved document from the global cache.
Public Method ![static | Shared in VB](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "static Shared in VB") LoadFromFile Loads a document from existing data stored in a disk file.
Public Method ![static | Shared in VB](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "static Shared in VB") LoadFromStream Loads a document from existing data stored in a stream.
Public Method ![static | Shared in VB](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "static Shared in VB") LoadFromUri Loads a document from existing data stored in a remote URL.
Public Method ![static | Shared in VB](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "static Shared in VB") LoadFromUriAsync Loads a document asynchronously from existing data stored in a remote URL.
Public Method ![static | Shared in VB](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "static Shared in VB") LoadStreamFromCache Loads a previously saved document stream data from the specified cache.
Public Method ![static | Shared in VB](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "static Shared in VB") MakeLeadCacheUri Constructs a LEAD cache URI from a document ID.
Public Method ![static | Shared in VB](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "static Shared in VB") NewCacheId Generates a new document unique ID.
Public Method ![static | Shared in VB](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "static Shared in VB") SaveAttachmentToCache Saves an attachment to the cache.
Public Method ![static | Shared in VB](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "static Shared in VB") UploadAnnotations Uploads a chunk of external annotations data to the specified document.
Public Method ![static | Shared in VB](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "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](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "static Shared in VB") Cache The LEADTOOLS ObjectCache object responsible for managing cache items and expiration policies.
Public Property ![static | Shared in VB](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "static Shared in VB") DefaultDocumentResolution The default resolution to use when loading document file formats.
Public Property ![static | Shared in VB](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "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](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "static Shared in VB") DefaultVectorResolution The default resolution to use when loading vector file formats.
Public Property ![static | Shared in VB](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "static Shared in VB") DocumentMemoryCache Document memory cache support.
Public Property ![static | Shared in VB](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "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](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "static Shared in VB") MimeTypes MIME type whitelisting support.
Public Property ![static | Shared in VB](https://www.leadtools.com/help/sdk/v22/resources/images/dotnetimages/static.gif "static Shared in VB") RasterCodecsTemplate Global template used when loading and saving raster and SVG images.

Public Events

Name Description
Public Event LoadDocumentFromCache Called by the factory when loading child documents from the cache.

See Also

DocumentFactory Class

Leadtools.Document Namespace

Download our FREE evaluation

Help Version 22.0.2023.4.21

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.