SetOverprint

Vector graphics, Page layout

Description

Sets the overprint parameter of the graphics state for subsequently drawn text and graphics.

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 colour space. 0 = Default behaviour 1 = Nonzero overprint mode

Return values

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