Provides support for loading LEADDocument objects as well as managing the global settings used by the Document library.
function lt.Document.DocumentFactory
class lt.Document.DocumentFactory()
The main class used for the LEADTOOLS Document class library is LEADDocument, which abstracts the internal implementation to provide unified properties and methods to access the internal document. Users can create a new document to load existing from memory, disk file or a URL.
Documents cannot be created directly, instead, use the static DocumentFactory methods to obtain a LEADDocument instance as follows:
Member | Description |
---|---|
LoadFromUri |
Loads a document from existing data stored in a remote URL. |
LoadFromCache |
Loads a previously saved document from the cache. |
In addition to the above, DocumentFactory contains the following functionality:
Member | Description |
---|---|
Create |
Creates a new empty document. |
SaveToCache |
Saves a document to the cache. |
DeleteFromCache |
Deletes a previously saved document from the cache. |
CheckCacheInfo |
Retrieves information for a document in the cache. |
BeginUpload, UploadDocument, UploadDocumentBlob, EndUpload and AbortUploadDocument | Uploads raw data or JavaScript Blob a document in chunks to the cache system used by the service. |
UploadFile/uploadfiledocument |
Uploads a JavaScript Blob /File object in one shot to the cache system used by the service.
|
DownloadDocumentData |
Downloads the document data from the cache. |
PrepareAjax |
Event that occurs before any request is made by the factory to the server to allow the user to examine or modify the parameters passed. |
Loading Using LEADTOOLS Document Library
Creating Documents with LEADTOOLS Document Library
Document Library Coordinate System
Loading Encrypted Files Using the Document Library
Parsing Text with the Document Library
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