renderAnnotations Property (original) (raw)

Summary

Renders annotations embedded in the document.

Syntax

Object.defineProperty(LoadDocumentOptions.prototype, 'renderAnnotations', get: function(), set: function(value) )

renderAnnotations: boolean; 

Property Value

true to render 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.

The value of RenderAnnotations controls what happens to the annotations:

RenderAnnotations is not used if LoadEmbeddedAnnotations is false.

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