AnnotationsUri Property (original) (raw)

Summary

The location to the external annotation file associated with the document.

Syntax

public Uri AnnotationsUri { get; set; } 

public: property System::Uri^ AnnotationsUri { System::Uri^ get() void set(System::Uri^ value) }

public URI getAnnotationsUri() public void setAnnotationsUri(URI value)

Property Value

The location to the external annotation file associated with the document. Default value is null.

Example

using Leadtools; using Leadtools.Caching; using Leadtools.Document; public void DocumentFactoryLoadFromFileExample() { var options = new LoadDocumentOptions(); options.AnnotationsUri = null; options.FirstPageNumber = 1; options.LastPageNumber = -1; options.Password = null; options.WebClient = null; options.CachePolicy = new CacheItemPolicy(); using (var document = DocumentFactory.LoadFromFile(Path.Combine(LEAD_VARS.ImagesDir, "Leadtools.pdf"), options)) { PrintOutDocumentInfo(document); } } static class LEAD_VARS { public const string ImagesDir = @"C:\LEADTOOLS22\Resources\Images"; }

or DocumentFactory.LoadFromUri.