Description
Represents a destination to a coordinate on a page.
Syntax
Public Sub SetXYLink( _
ByVal PageNumber As Long, _
ByVal X As Single, _
ByVal Y As Single _
)
Parameters
- PageNumber
- Gets or sets the page number targeted by the destination.
- X
- Gets or sets the X coordinate targeted by the destination.
- Y
- Gets or sets the Y coordinate targeted by the destination.
Remarks
This class can be used to specify a certain page and X, Y location for defining a XYLink or a Bookmark.
Example
[ASP - VBScript]
<!-- METADATA TYPE="typelib" UUID="{DF9225FE-94A4-490D-8CAD-E8366CE621D3}"--> <% 'Create document Dim MyDocument Set MyDocument = Server.CreateObject( "DynamicPDF.Document" ) 'Add page to the document Dim MyPage Set MyPage = MyDocument.AddPage() 'Add Reset Button Dim MyButton Set MyButton = MyPage.AddButton( "Button Name", 10, 100, 100, 25 ) MyButton.Behavior = DPDF_Behavior_Push MyButton.BorderStyle = DPDF_BorderStyle_Beveled MyButton.SetXYLink 1, 500, 500 MyButton.Label = "Click" 'Draw the PDF MyDocument.DrawToWeb Set MyPage = Nothing Set MyDocument = Nothing %> |
See Also
Button Object
© Copyright 2007, ceTe Software