BookmarkEntry Constructor (ContentGenerationDelegatePageGenerationContext, String)

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Initializes a new instance of the BookmarkEntry class.

Namespace:  Apitron.PDF.Kit.FlowLayout.Navigation
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

public BookmarkEntry(
	ContentGenerationDelegate<PageGenerationContext, string> bookmarkLabelFunc
)

Parameters

bookmarkLabelFunc
Type: Apitron.PDF.Kit.FlowLayout.ContentContentGenerationDelegatePageGenerationContext, String
The bookmark label func.
Exceptions

ExceptionCondition
ArgumentNullExceptionIf bookmarkLabelFunc is null.
Remarks

Examples

C#
Bookmark timeStamp = new BookmarkEntry((context => string.Format("date & time({0})", DateTime.Now.ToString("hh:mm"))))
See Also

Reference