 |
PdfBookmarksCollectionAdd(String, Int32, Single, Single) Method |
Convenience overload — adds a new bookmark that targets a specific position on a specific page.
Namespace: SelectPdf.UniversalAssembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntaxpublic PdfBookmark Add(
string text,
int pageIndex,
float x,
float y
)
Public Function Add (
text As String,
pageIndex As Integer,
x As Single,
y As Single
) As PdfBookmark
Parameters
- 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