PdfBookmark.AddBookmark Method (String, PdfPage, Double, Double, Double, Boolean)

PDF File Writer

PdfBookmarkAddBookmark Method (String, PdfPage, Double, Double, Double, Boolean)

Add child bookmark

Namespace:  PdfFileWriter
Assembly:  PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)
Syntax
C#
public PdfBookmark AddBookmark(
	string Title,
	PdfPage Page,
	double XPos,
	double YPos,
	double Zoom,
	bool OpenEntries
)

Parameters

Title
Type: SystemString
Bookmark title.
Page
Type: PdfFileWriterPdfPage
Page
XPos
Type: SystemDouble
Horizontal position
YPos
Type: SystemDouble
Vertical position.
Zoom
Type: SystemDouble
Zoom factor (1.0 is 100%. 0.0 is no change from existing zoom).
OpenEntries
Type: SystemBoolean
Open child bookmarks attached to this one.

Return Value

Type: PdfBookmark
Bookmark object
Remarks
Add bookmark as a child to this bookmark. This method creates a new child bookmark item attached to this parent
See Also