←Select platform

AnnotationsUri Property

Summary

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

Syntax
C#
VB
C++
Java
public Uri AnnotationsUri { get; set; } 
Public Property AnnotationsUri() As System.Uri 
   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.

Remarks

Documents can have annotations stored in an external file. To read these annotations when the document is loaded, set the value of AnnotationsUri to the file or remote URL location. The framework will load the annotation from this location and download it in the cache if needed.

If the value of AnnotationsUri is set (not null), then LoadEmbeddedAnnotations is ignored and the framework will not try to load any embedded annotations even if they exist.

Use DocumentPage.GetAnnotations to access the annotations after the document is loaded.

Refer to Loading Documents using Leadtools.Document for detailed information.

Example

For an example, refer to DocumentFactory.LoadFromFile or DocumentFactory.LoadFromUri.

Requirements

Target Platforms

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

Leadtools.Document Assembly