←Select platform

UsePDFMode Property

Summary

Gets or sets a value that indicates whether a PDF document is being edited.

Syntax
C#
VB
C++
public bool UsePDFMode { get; set; } 
Public Property UsePDFMode As Boolean 
public:  
   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.

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 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly