Description
Represents a bookmark. A Bookmark appears in the left side in the final Document. It points to a X and Y Coordinates on the Page to which it was added or Page to which parent object ( Group or AreaGroup object ) of the Bookmark was added.
For a list of all members defined in this module, see Bookmark members.
Object Model
Remarks
This class can be used to place bookmarks on the PDF document. These bookmarks will be displayed to the right of the PDF document. See the Outlines and Bookmarks topic for more details on bookmarks.
Example
[ASP - VBScript]
<% Dim MyDocument Dim MyPage1 Dim MyPage2 Dim MyPage3 Set MyDocument = Server.CreateObject( "DynamicPDF.Document" ) Dim MyTemplate Set MyTemplate = MyDocument.SetTemplate Dim MyPageNumberLabel Set MyPageNumberLabel = MyTemplate.AddPageNumberingLabel( "PageNumber %%CP%% OF %%TP%%", 200, 50, 180, 30 ) Set MyPage1 = MyDocument.AddPage() Set MyPage2 = MyDocument.AddPage() Set MyPage3 = MyDocument.AddPage() Dim MyParentOutline Dim MyTopBkmark Set MyParentOutline = MyDocument.AddOutline( "Parent Outline" ) Set MyTopBkmark = MyPage1.AddBookmark( "Top Level BookMark to Page 1", 0, 0 ) MyTopBkmark.ParentOutline = MyParentOutline Dim MyChildBookMark Dim MyChildBookMark1 Dim MyChildBookMark2 Set MyChildBookMark = MyPage1.AddBookMark( "BookMark to Page 1", 0, 0 ) MyChildBookMark.ParentOutline = MyParentOutline Set MyChildBookMark1 = MyPage2.AddBookMark( "BookMark to Page 2", 0, 0 ) MyChildBookMark1.ParentOutline = MyParentOutline Set MyChildBookMark2 = MyPage3.AddBookMark( "BookMark to Page 3", 0, 0 ) MyChildBookMark2.ParentOutline = MyParentOutline MyDocument.DrawToWeb Set MyTemplate = Nothing Set MyPage1 = Nothing Set MyPage2 = Nothing Set MyPage3 = Nothing Set MyDocument = Nothing %>
|
See Also
Bookmark Members