 | PdfiumFPDFTextObj_GetCharRect Method |
Get character bounding box
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static void FPDFTextObj_GetCharRect(
IntPtr textObject,
int index,
out float left,
out float bottom,
out float right,
out float top,
FS_MATRIX matrix = null
)
Public Shared Sub FPDFTextObj_GetCharRect (
textObject As IntPtr,
index As Integer,
<OutAttribute> ByRef left As Single,
<OutAttribute> ByRef bottom As Single,
<OutAttribute> ByRef right As Single,
<OutAttribute> ByRef top As Single,
Optional matrix As FS_MATRIX = Nothing
)
public:
static void FPDFTextObj_GetCharRect(
IntPtr textObject,
int index,
[OutAttribute] float% left,
[OutAttribute] float% bottom,
[OutAttribute] float% right,
[OutAttribute] float% top,
FS_MATRIX^ matrix = nullptr
)
static member FPDFTextObj_GetCharRect :
textObject : IntPtr *
index : int *
left : float32 byref *
bottom : float32 byref *
right : float32 byref *
top : float32 byref *
?matrix : FS_MATRIX
(* Defaults:
let _matrix = defaultArg matrix null
*)
-> unit
public static void FPDFTextObj_GetCharRect(
IntPtr textObject,
int index,
/** @attribute OutAttribute */ /** @ref */float left,
/** @attribute OutAttribute */ /** @ref */float bottom,
/** @attribute OutAttribute */ /** @ref */float right,
/** @attribute OutAttribute */ /** @ref */float top,
FS_MATRIX matrix = null
)
Patagames.Pdf.Pdfium.FPDFTextObj_GetCharRect = function(textObject, index, left, bottom, right, top, matrix);
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