vpdf_GetCharacterRectangle(hVPDF As Long, dwPageNumber As Integer, iCharacter As Integer, ByRef pLeft As Double, ByRef pTop As Double, ByRef pRight As Double, ByRef pBottom As Double) As Boolean
Description
Returns the bounding rectangle of a character on a PDF page. The coordinates are in Points (1/72 inches) relative to the bottom left corner of the page.
Parameters
Long |
hVPDF |
Handle to the Vector PDF object. |
Integer |
dwPageNumber |
0-based index of the page. |
Integer |
iCharacter |
0-based index of the character on the page. |
Double |
pLeft |
Returns the distance of the left edge of the character from the left edge of the page. |
Double |
pTop |
Returns the distance of the top of the character from the bottom of the page. |
Double |
pRight |
Returns the distance of the right edge of the character from the left edge of the page. |
Double |
pBottom |
Returns the distance of the bottom of the character from the bottom of the page. |
Return value
TRUE on success, otherwise FALSE.