DocumentAddBookmark Method (String, ExplicitDestination, Bookmark) |
Creates a child bookmark for the existing parentBookmark
Namespace:
ExpertPdf.HtmlToPdf.PdfDocument
Assembly:
ephtmltopdf (in ephtmltopdf.dll) Version: 17.0.0
Syntax public Bookmark AddBookmark(
string text,
ExplicitDestination destination,
Bookmark parentBookmark
)
Public Function AddBookmark (
text As String,
destination As ExplicitDestination,
parentBookmark As Bookmark
) As Bookmark
Parameters
- text
- Type: SystemString
The text of the child bookmark - destination
- Type: ExpertPdf.HtmlToPdf.PdfDocumentExplicitDestination
The destination of the child bookmark - parentBookmark
- Type: ExpertPdf.HtmlToPdf.PdfDocumentBookmark
The parent bookmark
Return Value
Type:
BookmarkThe newly added bookmark.
See Also