LoadFromUri Method (original) (raw)

Summary

Loads a document from existing data stored in a remote URL.

Syntax

public static Document loadFromUri(URI uri, LoadDocumentOptions options) 

Parameters

uri

Path to the URL containing the original document data. This value cannot be null.

options

Options to use when loading the document. This value cannot be null.

Return Value

The newly created document object.

Example

using Leadtools; using Leadtools.Caching; using Leadtools.Document; public void DocumentFactoryLoadFromUriExample() { var options = new LoadDocumentOptions(); using (var document = DocumentFactory.LoadFromUri(new Uri("http://demo.leadtools.com/images/pdf/leadtools.pdf"), options)) { PrintOutDocumentInfo(document); } }