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.Visual Basic (Declaration) | |
---|---|
Public Property UseStyles As Boolean |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As PdfAutoBookmark Dim value As Boolean instance.UseStyles = value value = instance.UseStyles |
C# | |
---|---|
public bool UseStyles {get; set;} |
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.For an example, refer to PdfDocumentOptions.
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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7