 | 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.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static void FPDFPageObj_SetTextKnockoutFlag(
IntPtr page_obj,
bool flag
)
Public Shared Sub FPDFPageObj_SetTextKnockoutFlag (
page_obj As IntPtr,
flag As Boolean
)
public:
static void FPDFPageObj_SetTextKnockoutFlag(
IntPtr page_obj,
bool flag
)
static member FPDFPageObj_SetTextKnockoutFlag :
page_obj : IntPtr *
flag : bool -> unit
public static void FPDFPageObj_SetTextKnockoutFlag(
IntPtr page_obj,
boolean flag
)
Patagames.Pdf.Pdfium.FPDFPageObj_SetTextKnockoutFlag = function(page_obj, 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