LEADTOOLS Forms (Leadtools.Forms.DocumentWriters assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
UseStyles Property
See Also 
Leadtools.Forms.DocumentWriters Namespace > PdfAutoBookmark Structure : UseStyles Property



The UseStyles Property is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

Gets or sets a value that indicate whether to consider font styles when creating bookmark in the PDF document.

Syntax

Visual Basic (Declaration) 
Public Property UseStyles As Boolean
Visual Basic (Usage)Copy Code
Dim instance As PdfAutoBookmark
Dim value As Boolean
 
instance.UseStyles = value
 
value = instance.UseStyles
C# 
public bool UseStyles {get; set;}
C++/CLI 
public:
property bool UseStyles {
   bool get();
   void set (    bool value);
}

Property Value

true to allow checking for font styles such as bold or italic while creating the bookmark in the PDF document using autobookmark feature; otherwise it is false. Default value is false.

Example

For an example, refer to PdfDocumentOptions.

Remarks

Autobookmarking create bookmark items based on font information, when UseStyles is true this means to consider font styles when considering unique fonts inside the document, for example in that case Arial bold and Arial will be handled as two different fonts.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Forms.DocumentWriters requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features