←Select platform

UsePDFMode Property

Summary
Gets or sets a value that indicates whether a PDF document is being edited.
Syntax
C#
C++/CLI
Python
public bool UsePDFMode { get; set; } 
public:  
   property bool UsePDFMode 
   { 
      bool get() 
      void set(bool value) 
   } 
UsePDFMode # get and set (AnnAutomationManager) 

Property Value

A Boolean value that indicates whether it is 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.

Set this property to true when annotating a PDF document.

This property affects the following properties when you set it to true:

  • None of the automation manager Objects objects will have StrokeWidth. Instead, it behaves like the PDF annotations stroke width which is transformable based on viewer transforms.

  • All of the automation manager Objects objects will have Inset, to mimic PDF annotations stroke alignment.

The above changes will be inverted when the UsePDFMode property is set to false.

Requirements

Target Platforms

Help Version 22.0.2023.4.25
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

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