←Select platform

LoadEmbeddedAnnotations Property

Summary

Indicates whether to try to load the annotations embedded in the document itself.

Syntax
C#
VB
C++
Java
public bool LoadEmbeddedAnnotations {get; set;} 
Public Property LoadEmbeddedAnnotations() As Boolean 
   Get 
   Set 
public:  
   property bool LoadEmbeddedAnnotations 
   { 
      bool get() 
      void set(bool value) 
   } 
public boolean getLoadEmbeddedAnnotations() 
public void setLoadEmbeddedAnnotations(boolean value) 

Property Value

true to try to load the annotations embedded in the document; otherwise, false. Default value is false.

Remarks

Some document formats such as PDF and TIF support embedded annotations inside the document file itself. Set the value of LoadEmbeddedAnnotations to true to try to read these annotations when loading a document. This will not cause an error if the format does not support embedded annotations or if the file does not contain any.

If the annotations are stored in an external file, then use AnnotationsUri instead. Note that if you set AnnotationsUri to a value (not null) then LoadEmbeddedAnnotations will be 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.2019.12.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly