Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Documents Namespace > LoadDocumentOptions Class : LoadEmbeddedAnnotations Property |
public bool LoadEmbeddedAnnotations {get; set;}
'Declaration
Public Property LoadEmbeddedAnnotations As Boolean
'Usage
Dim instance As LoadDocumentOptions Dim value As Boolean instance.LoadEmbeddedAnnotations = value value = instance.LoadEmbeddedAnnotations
public boolean getLoadEmbeddedAnnotations() public void setLoadEmbeddedAnnotations(boolean value)
Some document formats such as PDF and TIF supports embedded annotations inside the document file itself. Set the value of LoadEmbeddedAnnotations to true to try and 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.Documents for detailed information.
For an example, refer to DocumentFactory.LoadFromFile or DocumentFactory.LoadFromUri.