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 Informs the cache to stop allowing uploads of the document to this uri.
Public Method static  | Shared in VB beginUpload Starts uploading a document to the cache.
Public Method static  | Shared in VB beginUploadDocument Starts uploading a document to the cache.
Public Method static  | Shared in VB cancelFromPrepareAjax Raises a prepareAjax event and returns whether the AJAX should be cancelled.
Public Method static  | Shared in VB checkCacheInfo Retrieves information for a document in the cache using its ID.
Public Method static  | Shared in VB create Creates a new, empty virtual document.
Public Method static  | Shared in VB deleteFromCache Deletes the specified Document from the cache.
Public Method static  | Shared in VB downloadDocumentData Downloads the document data from the cache.
Public Method static  | Shared in VB endUpload Finishes uploading a document to the cache.
Public Method static  | Shared in VB isUploadDocumentUri Gets a value that indicate whether the URL points to a special LEAD cache scheme.
Public Method static  | Shared in VB loadFromCache Retrieves the document matching the given documentId string from the cache.
Public Method static  | Shared in VB loadFromFile Loads a document from a File object.
Public Method static  | Shared in VB loadFromUri Loads a document from existing data stored in a remote URL.
Public Method static  | Shared in VB saveToCache Saves the document to the cache.
Public Method static  | Shared in VB uploadDocument Uploads the specified data to the cache.
Public Method static  | Shared in VB uploadFile Uploads a new document to the server.
Public Method static  | Shared in VB verifyService Makes a parameter-less call to the Document Service to verify a proper connection.

Public Properties

Name Description
Public Property static  | Shared in VB localProxyUrlTemplate The path to the proxy api of the service used to load local documents.
Public Property static  | Shared in VB logErrors Indicate whether errors should be logged to the console.
Public Property static  | Shared in VB serviceApiPath The path to the api endpoints of the service.
Public Property static  | Shared in VB serviceHost The LEADTOOLS Document Service host location.
Public Property static  | Shared in VB servicePath The path from the host to the application root.
Public Property static  | Shared in VB serviceUri Gets the full URL of the service.
Public Property static  | Shared in VB serviceUserData User data to be passed to the service with the next Document Service call.

Public Events

Name Description
Public Event static  | Shared in VB prepareAjax Event that occurs before any AJAX request is made to the server to allow the user to examine or modify the parameters passed.

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

Leadtools.Document Assembly