UnderlineSetQuadPoint Method |
Sets the QuadPoint to be located at a certain index of the QuadPoint Array of the TextMarkup
annotation.
(Optional; PDF 1.6 )
Namespace:
pdftron.PDF.Annots
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public void SetQuadPoint(
int idx,
QuadPoint qp
)
Public Sub SetQuadPoint (
idx As Integer,
qp As QuadPoint
)
public:
virtual void SetQuadPoint(
[InAttribute] int idx,
[InAttribute] QuadPoint^ qp
) sealed
function SetQuadPoint(idx, qp);
Parameters
- idx
- Type: SystemInt32
The index where the QuadPoint is to be located (the index is counted from 0, and continue on assendingly).
- qp
- Type: pdftron.PDFQuadPoint
The QuadPoint to be located at a certain index of the QuadPoint Array of the TextMarkup annotation.
Implements
ITextMarkupSetQuadPoint(Int32, QuadPoint)Remarks To make this QuadPoint compatible with Adobe Acrobat|Reader, you can use either clockwise or counterclockwise order,
but the points p3 and p4 must be swapped. This is because those readers do not follow the PDF specification for TextMarkup QuadPoints.
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