usePDFMode Property

Summary

Gets or sets if we are annotating a pdf document or no.

Syntax
TypeScript
JavaScript
Object.defineProperty(AnnAutomationManager.prototype, 'usePDFMode', 
	get: function(), 
	set: function(value) 
) 
usePDFMode: boolean; 

Property Value

A boolean value that determines if we are annotating a pdf document. The default value is false.

Remarks

This property will be used when working with annotations on a pdf document in order to be compatible and to get the same view when saving annotations to a pdf file.

In your application, you need to set this property to true when you annotate a pdf document.

This property will affect the following properties when you set it to true: All the automation manager Objects template will not have StrokeWidth, it behaves like Pdf annotations stroke width which is transformable based on viewer transform. All the automation manager Objects template will have

The above changes will be inverted when you set this property UsePDFMode to false.

Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.