Winnovative Logo

PdfBookmarkOptions Class

Winnovative Client for .NET Core
This class contains the necessary properties to control the bookmarks creation in a PDF document
Inheritance Hierarchy

SystemObject
  WinnovativeClientPdfBookmarkOptions

Namespace:  WinnovativeClient
Assembly:  WinnovativeClient_NetCore (in WinnovativeClient_NetCore.dll) Version: 17.0.0
Syntax

public class PdfBookmarkOptions

The PdfBookmarkOptions type exposes the following members.

Constructors

  NameDescription
Public methodPdfBookmarkOptions
Initializes a new instance of the PdfBookmarkOptions class
Top
Properties

  NameDescription
Public propertyAllowDefaultTitle
A flag indicating if the HTML elements without text can be bookmarked. This property is true by default
Public propertyAutoBookmarksEnabled
A flag indicating if the automatic creation of bookmarks in PDF for the H1 to H6 HTML elements is enabled or not. By default the automatic bookmarks creation is disabled
Public propertyDefaultTitle
Gets or sets the default title to be used for bookmarks that don't have an associated text. This property has effect only if AllowDefaultTitle is true. This property defaults to "Bookmark" text
Public propertyHierarchicalBookmarks
A flag indicating if the bookmarks created in PDF for the HTML elements are arranged in a hierarchy based on the bookmark levels defined in HTML. By default this property is true
Public propertyHtmlElementSelectors
Gets or sets the selectors of the HTML elements to be bookmarked. For example, the selector for all the H1 elements is "H1", the selector for all the elements with the CSS class name 'myclass' is "*.myclass" and the selector for the elements with the id 'myid' is "*#myid".
Public propertyMaxTitleLength
Gets or sets the maximum accepted length of the bookmark title string. If a positive value is set for this property the bookmark title will be truncated if necessary. By default and the bookmark title will not be truncated
Top
Methods

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
See Also

Reference