BookmarksCollectionInsertNewBookmark Method |
Creates a new bookmark and inserts it at the specified zero based position index in collection.
Namespace:
ExpertPdf.HtmlToPdf.PdfDocument
Assembly:
ephtmltopdf (in ephtmltopdf.dll) Version: 17.0.0
Syntax public Bookmark InsertNewBookmark(
int positionIndex,
string text,
ExplicitDestination destination
)
Public Function InsertNewBookmark (
positionIndex As Integer,
text As String,
destination As ExplicitDestination
) As Bookmark
Parameters
- positionIndex
- Type: SystemInt32
The zero based position index where to insert the bookmark. - text
- Type: SystemString
The bookmark text. - destination
- Type: ExpertPdf.HtmlToPdf.PdfDocumentExplicitDestination
The bookmark destination.
Return Value
Type:
BookmarkThe newly created PDF bookmark.
See Also