←Select platform

UsePDFMode Property

Summary

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

Syntax

C#
VB
WinRT C#
public bool UsePDFMode {get; set;}
Public Property UsePDFMode As Boolean
public bool UsePDFMode {get; set;}
get_UsePDFMode(); 
set_UsePDFMode(value); 
Object.defineProperty('UsePDFMode'); 

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Automation Assembly
Click or drag to resize