Description
Represents an outline. An outline appears on the left side in the final PDF document. It allows for quick access to the document pages.
For a list of all members defined in this module, see Outline members.
Object Model
Remarks
See the Outlines and Bookmarks topic for more on outlines.
Interfaces
| Implemented Interface | Description |
| Object | |
Example
[ASP - VBScript]
<!-- METADATA TYPE="typelib" UUID="{DF9225FE-94A4-490D-8CAD-E8366CE621D3}"--> <% ' Create a PDF Document Dim MyDocument Set MyDocument = Server.CreateObject( "DynamicPDF.Document" ) ' Add three blank pages MyDocument.AddPage() MyDocument.AddPage() MyDocument.AddPage() ' Add a top level outline and set properties Dim MyOutline1 Set MyOutline1 = MyDocument.AddOutline( "Outline1" ) MyOutline1.Style = DPDF_TextStyle_Bold MyOutline1.Color = "FF0000" ' Add child outlines Dim MyOutline1A Set MyOutline1A = MyOutline1.AddZoomOutline( "Outline1A", 2, DPDF_Zoom_FitPage ) MyOutline1A.IsExpanded = False Dim MyOutline1A1 Set MyOutline1A1 = MyOutline1A.AddXYOutline( "Outline1A1", 2, 0, 0 ) Dim MyOutline1A2 Set MyOutline1A2 = MyOutline1A.AddZoomOutline( "Outline1A2", 2, DPDF_Zoom_FitHeight ) Dim MyOutline1B Set MyOutline1B = MyOutline1.AddZoomOutline( "Outline1B", 2, DPDF_Zoom_FitWidth ) ' Add a second top level outline Dim MyOutline2 Set MyOutline2 = MyDocument.AddXYOutline( "Outline2", 3, 0, 300 ) ' Add a child outline Dim MyOutline2A Set MyOutline2A = MyOutline2.AddOutline( "Outline2A" ) ' Save the PDF document MyDocument.DrawToWeb Set MyDocument = Nothing %>
|
See Also
Outline Members
© Copyright 2007, ceTe Software