Click or drag to resize

ITextMarkupGetQuadPoint Method

Gets the QuadPoint located at a certain index of the QuadPoint Array of the TextMarkup annotation.

Namespace:  pdftron.PDF.Annots
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
QuadPoint GetQuadPoint(
	int idx
)

Parameters

idx
Type: SystemInt32
The index where the QuadPoint is to be located (the index is counted from 0, and continue on assendingly).

Return Value

Type: QuadPoint
The QuadPoint located at a certain index of the QuadPoint Array of the TextMarkup annotation.
Remarks
An Array of n QuadPoints specifying the coordinates of nquadrilaterals in default user space. Each quadrilateral shall encompasses a word or group of contiguous words in the text underlying the annotation. The coordinates for each quadrilateral shall be given in the order p1, p2, p3, p4 specifying the quadrilateral’s four vertices in counterclockwise order. The text shall be oriented with respect to the edge connecting points (p1) and (p2). The annotation dictionary’s Appearance(AP) entry, if present, shall take precedence over QuadPoints.
See Also