Description
Represents an link with a destination to a page at a given zoom defined in DPDF_Zoom Enumeration.
For a list of all members defined in this module, see ZoomLink members.
Remarks
This class can be used to place page zoom links on the PDF.
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" ) MyDocument.InitialZoom = DPDF_Zoom_FitHeight ' 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( "Page1 Zoom Link", 10, 10, 120, 30 ) MyLabel1.UnderLine = True ' Metrics object to match the link width same as Label Dim MyLink Set MyLink = MyPage1.AddZoomLink( 10, 10, MyDocument.Metrics.GetTextWidth( MyLabel1.Text, MyLabel1.Font, MyLabel1.FontSize ), 30, 2, DPDF_Zoom_FitWidth ) Dim MyLabel2 Set MyLabel2 = MyPage2.AddLabel( "ceTe Software-Home of the DynamicPDF?", 40, 100, 250, 50 ) MyLabel2.TextColor = "8A2BE2" ' Blue violet ' Draw the PDF MyDocument.DrawToWeb Set MyPage1 = Nothing Set MyPage2 = Nothing Set MyDocument = Nothing %> |
See Also
ZoomLink Members
© Copyright 2007, ceTe Software