Provides support for loading Document objects as well as managing the global settings used by the Documents library.
function lt.Documents.DocumentFactory
class lt.Documents.DocumentFactory()
The main class used for the LEADTOOLS Documents class library is Document, this class abstracts the internal implementation to provide unified properties and methods to access the internal document. Users can created 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 Document 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 |
UploadFile, BeginUpload, UploadDocument and AbortUploadDocument | Provides support for uploading a document to the cache system used by the factory |
DownloadDocument | Download any item 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. |
For an example, refer to LoadFromUri.
Loading Using LEADTOOLS Documents Library
Creating Documents with LEADTOOLS Documents Library
Documents Library Coordinate System
Loading Encrypted Files Using the Documents Library
Parsing Text with the Documents Library
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.