←Select platform

UsePDFMode Property

Gets or sets a value that indicates whether a PDF document is being edited.
public bool UsePDFMode { get; set; } 
Public Property UsePDFMode As Boolean 
   property bool UsePDFMode 
      bool get() 
      void set(bool value) 

Property Value

A Boolean value that indicates whether it is a PDF document. The default value is false.


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.


Target Platforms

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

Leadtools.Annotations.Automation Assembly