Click or drag to resize

FreeTextGetCalloutLinePoints Method

Gets p1 of the callout line points of the FreeText annotation.

Namespace:  pdftron.PDF.Annots
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public void GetCalloutLinePoints(
	Point out_p1,
	Point out_p2,
	Point out_p3
)

Parameters

out_p1
Type: pdftron.PDFPoint
The starting point.
out_p2
Type: pdftron.PDFPoint
The ending point.
out_p3
Type: pdftron.PDFPoint
The knee point.

Return Value

Type: 
Three point objects if the line is bent or two point objects if the line is straight.
Remarks
The returning values are two or three Point objects specifying a callout line attached to the free text annotation. Three Point objects represent the starting, knee point, and ending coordinates of the line in default user space, two Point objects represent the starting and ending coordinates of the line. If the line is straight, i.e. only has two points, two valid points will be returned in p1 and p2, the p3 will be a point with negative x and y coordinate values.
See Also