Click or drag to resize

PdfiumFPDFPageObj_GetStrokeOverprintFlag Method

Get an overprint flag for stroking operations.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static bool FPDFPageObj_GetStrokeOverprintFlag(
	IntPtr page_obj
)

Parameters

page_obj  IntPtr
A handle to a page object. Returned by FPDFPageObj_Create(PageObjectTypes) or FPDFPage_GetObject(IntPtr, Int32)

Return Value

Boolean
A flag for stroking operations, specifying whether painting in one set of colorants should cause the corresponding areas of other colorants to be erased(false) or left unchanged(true). Please see remarks section for details.
Remarks

If the overprint mode is set toZero (the default value; see FPDFPageObj_SetOverprintMode(IntPtr, OverprintModes)), painting a color in any color space causes the corresponding areas of unspecified colorants to be erased(painted with a tint value of 0.0). The effect is that the color at any position on the page is whatever was painted there last, which is consistent with the normal painting behavior of the opaque imaging model.

If the overprint is set toNonZero and the output device supports overprinting, no such erasing actions are performed; anything previously painted in other colorants is left undisturbed. Consequently, the color at a given position on the page may be a combined result of several painting operations in different colorants. The effect produced by such overprinting is device-dependent and is not defined by the PDF language.

See Also