FPDFTextObj_GetFont method

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

FPDF_FONT FPDFTextObj_GetFont(FPDF_PAGEOBJECT text) {
  return _FPDFTextObj_GetFont(text);
}