←Select platform

UsePDFMode Property

Summary

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

Syntax

C#
VB
WinRT C#
C++
public bool UsePDFMode { get; set; } 
Public Property UsePDFMode As Boolean 
public bool UsePDFMode {get; set;} 
 <br/>get_UsePDFMode();<br/>set_UsePDFMode(value);<br/>Object.defineProperty('UsePDFMode');  
public:  
   property bool UsePDFMode 
   { 
      bool get() 
      void set(bool value) 
   } 

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 Inset, to mimic Pdf annotations stroke alignment .

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

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly