FPDFTextObj_GetFont function

  1. @Native<FPDF_FONT Function(FPDF_PAGEOBJECT text)>(FPDF_PAGEOBJECT)>()
FPDF_FONT FPDFTextObj_GetFont(
  1. FPDF_PAGEOBJECT text
)

Experimental API. Get the font of a text object.

text - the handle to the text object.

Returns a handle to the font object held by |text| which retains ownership.

Implementation

@ffi.Native<FPDF_FONT Function(FPDF_PAGEOBJECT)>()
external FPDF_FONT FPDFTextObj_GetFont(FPDF_PAGEOBJECT text);