34
activePDF Toolkit Professional Edition
aptkl4a 30405
Copyright 2005, activePDF, Inc. All Rights Reserved.
Page 350 of 553
Top
Description
Sets and retrieves the top Y coordinate of the specified field.
Return type
Float
Description
The top Y coordinate of the field. Uses the PDF Coordinate System.
Syntax
value = object.
Top
= value
The Top property has these required parts:
Part
Value Type
Description
Object
An expression of the PDFFieldInfo subobject.
Value
Float
The top Y coordinate of the field. Uses the PDF Coordinate System.
Remarks
You can use this in conjunction with the Bottom ,Height,Left and Width properties.
Example
strPath = CreateObject("Scripting.FileSystemObject").GetAbsolutePathName(".") & "\"
Set TK = CreateObject("APToolkit.Object")
r = TK.OpenInputFile("Input.pdf")
Set FIO = TK.FieldInfo("test", 1)
MsgBox FIO.Top
Set FIO = Nothing
Set TK = Nothing