The PdfBookmarkOptions type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| PdfBookmarkOptions | Initializes a new instance of the PdfBookmarkOptions class |
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| AllowDefaultTitle |
A flag indicating if the HTML elements without text can be bookmarked. This property is true by default
| |
| DefaultTitle |
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
| |
| HtmlElementSelectors |
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".
| |
| MaxTitleLength |
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 necessasry. The default value is -1 and the bookmark title will not be truncated.
|