Skip to contents

Wraps FPDFText_SetText. Replaces whatever text the object carries with text (UTF-8). PDFium re-encodes for the embedded font; characters the font can't render fall back to the spec's substitution rules.

Usage

pdf_text_set_content(obj, text)

Arguments

obj

A pdfium_obj of type "text". Parent doc must be readwrite.

text

Character scalar (UTF-8).

Value

Invisibly returns the parent pdfium_doc.

See also