Click or drag to resize

PdfiumFPDFPageObj_SetTextKnockoutFlag Method

Set the text knockout flag, which determines the behavior of overlapping glyphs within a text object in the transparent imaging model.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static void FPDFPageObj_SetTextKnockoutFlag(
	IntPtr page_obj,
	bool flag
)

Parameters

page_obj  IntPtr
A handle to a page object. Returned by FPDFPageObj_Create(PageObjectTypes) or FPDFPage_GetObject(IntPtr, Int32)
flag  Boolean
The text knockout flag to be set.
Remarks
If its value is false, each glyph in a text object is treated as a separate elementary object; when glyphs overlap, they composite with one another. If the parameter is true, all glyphs in the text object are treated together as a single elementary object; when glyphs overlap, later glyphs overwrite(“knock out”) earlier ones in the area of overlap.
See Also