←Select platform

UseStyles Property

Summary

Consider font styles when creating bookmarks in the PDF document.

Syntax
C#
VB
Objective-C
C++
Java
public bool UseStyles { get; set; } 
Public Property UseStyles As Boolean 
@property (nonatomic, assign) BOOL useStyles 
public boolean getUseStyles() 
public void setUseStyles(boolean 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 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Writer Assembly