See Also

UrlOutline Members

Description

Represents an Outline object with an action linking to an external URL. An outline appears on the left side of the final PDF document.

For a list of all members defined in this module, see UrlOutline members.

Object Model




Remarks

This class can be used to place external URL outlines on the PDF.

Interfaces

Implemented InterfaceDescription
IOutline 
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" ) 
    ' Draw the PDF document 
    MyDocument.DrawToWeb 
    Set MyDocument = Nothing 
%> 
 

See Also

UrlOutline Members

 

 


© Copyright 2007, ceTe Software