Controls how annotations are saved in the output document.
Object.defineProperty(DocumentConverterJobData.prototype, 'annotationsMode',
get: function(),
set: function(value)
)
annotationsMode: DocumentConverterAnnotationsMode;
A DocumentConverterAnnotationsMode enumeration value that controls how annotations are saved in the output document. Default value is DocumentConverterAnnotationsMode.None.
This value is only used if the input document contains annotations or if Annotations was set to a value, otherwise it is ignored.
If AnnotationsMode is not set to DocumentConverterAnnotationsMode.None, then the converter will obtain the source annotations for each page in the document follows:
An empty AnnContainer is created for the page.
If the original document contains annotations, then these are obtained using DocumentPage.GetAnnotations and the annotations objects are added to the empty container created in the first step.
If the value of DocumentConverterJobData.Annotations is not null, then this value must contain one or more AnnContainer objects serialized as strings. Each container has a AnnContainer.PageNumber property that is used to detect if extra annotation objects are present for this page, and if so, they are merged into the containers created in the first step.
Finally, this container is used in generating the final document.
Refer to DocumentConverterAnnotationsMode for more information.
For an example, refer to Convert.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET