GetAnnotQuadPoints
Version history
This function was introduced in Quick PDF Library version 7.21.
Description
Returns a component of the specified quad (rectangular area) contained within the specified annotation.
From version 7.25 the order of the co-ordinates has changed for consistency between GetPageText and SetAnnotQuadPoints.
Syntax
Delphi
function TQuickPDF0815.GetAnnotQuadPoints(Index, QuadNumber,
PointNumber: Integer): Double;
ActiveX
Function QuickPDF0815.PDFLibrary::GetAnnotQuadPoints(Index As Long,
QuadNumber As Long, PointNumber As Long) As Double
DLL
double QuickPDFGetAnnotQuadPoints(int InstanceID, int Index, int QuadNumber,
int PointNumber)
Parameters
| Index | The index of the annotation. The first annotation on the page has an index of 1. |
| QuadNumber | The number of the quad to access. The first quad has a QuadNumber of 1. |
| PointNumber |
1 = The horizontal co-ordinate of the bottom-left corner 2 = The vertical co-ordinate of the bottom-left corner 3 = The horizontal co-ordinate of the bottom-right corner 4 = The vertical co-ordinate of the bottom-right corner 5 = The horizontal co-ordinate of the top-right corner 6 = The vertical co-ordinate of the top-right corner 7 = The horizontal co-ordinate of the top-left corner 8 = The vertical co-ordinate of the top-left corner |