←Select platform

UseStyles Property

Summary

Consider font styles when creating bookmarks in the PDF document.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public bool UseStyles { get; set; } 
Public Property UseStyles As Boolean 
public bool UseStyles {get; set;} 
@property (nonatomic, assign) BOOL useStyles 
public boolean getUseStyles() 
public void setUseStyles(boolean useStyles) 
             
 <br/>get_UseStyles();<br/>set_UseStyles(value);<br/>Object.defineProperty('UseStyles');  
public: 
property bool UseStyles { 
   bool get(); 
   void set (    bool ); 
} 

Property Value

true to allow checking for font styles such as bold or italic while creating the bookmark in the PDF document using the automatic bookmarking feature, otherwise; false The default value is false.

Remarks

Autobookmarking (automatic bookmarking) creates bookmark items based on font information whenever UseStyles is true. This means that different font styles are considered to be different. For example, when UseStyles is true, Arial bold and Arial are handled as two different fonts.

Example

For an example, refer to PdfDocumentOptions.

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.Forms.DocumentWriters Assembly