See Also

UrlLink Members

Description

Represents an link with an action linking to an external URL.

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

Remarks

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

Interfaces

Implemented InterfaceDescription
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" )  
    Dim MyPage 
    ' Create 3 Pages and add it to the document 
    Set MyPage = MyDocument.AddPage() 
    MyDocument.AddPage() 
    MyDocument.AddPage() 
    Set MyLabel = MyPage.AddLabel( "Home of the DynamicPDF?", 50, 20, 180, 70 ) 
    MyLabel.TextColor = "4169E1" 
    MyLabel.UnderLine = True 
    ' Metrics object to match the link width same as Label    
    Dim MyLinkOne 
    Set  MyLinkOne = MyPage.AddUrlLink( 50, 20, MyDocument.Metrics.GetTextWidth( MyLabel.Text, MyLabel.Font, MyLabel.FontSize ), 70, "www.cete.com" ) 
    ' Draw the PDF 
    MyDocument.DrawToWeb 
    Set MyPage = Nothing 
    Set MyDocument = Nothing 
%> 

See Also

UrlLink Members

 

 


© Copyright 2007, ceTe Software