FPDFTextObj_GetFontSize function

  1. @Native<FPDF_BOOL Function(FPDF_PAGEOBJECT, Pointer<Float>)>(FPDF_PAGEOBJECT, ffi.Pointer<ffi.Float>)>()
int FPDFTextObj_GetFontSize(
  1. FPDF_PAGEOBJECT text,
  2. Pointer<Float> size
)

Get the font size of a text object.

text - handle to a text. size - pointer to the font size of the text object, measured in points (about 1/72 inch)

Returns TRUE on success.

Implementation

@ffi.Native<FPDF_BOOL Function(FPDF_PAGEOBJECT, ffi.Pointer<ffi.Float>)>()
external int FPDFTextObj_GetFontSize(
  FPDF_PAGEOBJECT text,
  ffi.Pointer<ffi.Float> size,
);