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
| StrokingOverprint | Controls overprint for stroking operations: 0 = Turn overprint off 1 = Turn overprint on |
|---|---|
| OtherOverprint | Controls overprint for non-stroking operations: 0 = Turn overprint off 1 = Turn overprint on |
| OverprintMode | Sets 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
| 0 | An error occurred. One or more of the parameters were out of range. |
|---|---|
| 1 | Success |