Click or drag to resize

PdfiumFPDFTextObj_GetCharRect Method

Get character bounding box

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static void FPDFTextObj_GetCharRect(
	IntPtr textObject,
	int index,
	out float left,
	out float bottom,
	out float right,
	out float top,
	FS_MATRIX matrix = null
)

Parameters

textObject  IntPtr
Handle to text object returned by FPDFPageObj_Create(PageObjectTypes)
index  Int32
The index of the character to get the bbox.
left  Single
Pointer to a float value receiving the left of a rectangle.
bottom  Single
Pointer to a float value receiving the bottom of a rectangle.
right  Single
Pointer to a float value receiving the right of a rectangle.
top  Single
Pointer to a float value receiving the top of a rectangle.
matrix  FS_MATRIX  (Optional)
The matrix that shoud be appliend to the outpet rectangle. Typically it's the textObject's matrix
See Also