 |
PdfBookmarksCollectionInsert(Int32, String, Int32, Single, Single) Method |
Convenience overload — inserts a new bookmark at the specified index targeting a specific
position on a specific page.
Namespace: SelectPdf.UniversalAssembly: SelectPdf.HtmlToPdf.Universal (in SelectPdf.HtmlToPdf.Universal.dll) Version: 26.4
Syntaxpublic PdfBookmark Insert(
int index,
string text,
int pageIndex,
float x,
float y
)
Public Function Insert (
index As Integer,
text As String,
pageIndex As Integer,
x As Single,
y As Single
) As PdfBookmark
Parameters
- index Int32
- The zero based index where to insert the bookmark.
- text String
- The bookmark text.
- pageIndex Int32
- Zero-based index of the destination page.
- x Single
- X coordinate on the destination page, in points (origin at top-left).
- y Single
- Y coordinate on the destination page, in points (positive going down).
Return Value
PdfBookmarkThe newly created pdf bookmark.
See Also