SetOverprint

Vector graphics, Page layout

Description

Sets the overprint parameter of the graphics state for subsequently drawn text and graphics. The setting applies to the selected page only and is not carried over to another page.

Syntax

Delphi

Function TPDFlib.SetOverprint(StrokingOverprint, OtherOverprint, OverprintMode: Integer): Integer;

ActiveX

Function PDFlib::SetOverprint(StrokingOverprint As Long, OtherOverprint As Long, OverprintMode As Long) As Long

DLL

int DLSetOverprint(int InstanceID, int StrokingOverprint, int OtherOverprint, int OverprintMode);

Parameters

StrokingOverprintControls overprint for stroking operations: 0 = Turn overprint off 1 = Turn overprint on
OtherOverprintControls overprint for non-stroking operations: 0 = Turn overprint off 1 = Turn overprint on
OverprintModeSets the interpretation of a tint value of 0.0 for a color component in a DeviceCMYK color space. 0 = Default behavior 1 = Nonzero overprint mode

Return values

0An error occurred. One or more of the parameters were out of range.
1Success