Description
Represents an link with a destination to a coordinate on a page.
For a list of all members defined in this module, see XYLink members.
Remarks
This class can be used to place XY coordinate links on the PDF.
Interfaces
| Implemented Interface | Description |
| Object | |
Example
[ASP - VBScript]
<% ' Create a PDF Document Dim MyDocument Set MyDocument = Server.CreateObject( "DynamicPDF.Document" ) ' Create a Page and add it to the document Dim MyPage1 Set MyPage1 = MyDocument.AddPage() Dim MyPage2 Set MyPage2 = MyDocument.AddPage() Set MyLabel1 = MyPage1.AddLabel( "ceTe Software-Home of the DynamicPDF?", 10, 10, 300, 30 ) MyLabel1.UnderLine = True MyLabel1.TextColor = "FF0000" ' Metrics object to match the link width same as Label Dim MyLink Set MyLink = MyPage1.AddXYLink( 10, 10, MyDocument.Metrics.GetTextWidth ( MyLabel1.Text, MyLabel1.Font, MyLabel1.FontSize ), 30, 40, 100, 2 ) Dim MyLabel2 Set MyLabel2 = MyPage2.AddLabel( "DynamicPDF? Generator v3.0 for COM/ActiveX" , 40, 100, 140, 50 ) MyLabel2.TextColor = "8A2BE2" 'Blue violet ' Draw the PDF MyDocument.DrawToWeb Set MyPage1 = Nothing Set MyPage2 = Nothing Set MyDocument = Nothing %> |
See Also
XYLink Members
© Copyright 2007, ceTe Software