SetRenderOptions

Rendering and printing

Description

Sets various options for the renderer.

Syntax

Delphi

function TPDFlib.SetRenderOptions(OptionID, NewValue: Integer): Integer;

ActiveX

Function PDFlib::SetRenderOptions(OptionID As Long, NewValue As Long) As Long

DLL

int DLSetRenderOptions(int InstanceID, int OptionID, int NewValue);

Parameters

OptionID1 = Render Formfields 2 = Render Annotations 3 = Render Formfields only 4 = Gamma Correction 5 = ICCBased colorspaces 6 = Progress HWND 7 = Progress Message 8 = Progress Data 9 = Path combine mode
NewValueFor RenderFormFields: 0 = Don't render fomfields 1 = Render formfields (default) For RenderAnnotations: 0 = Don't render annotations 1 = Render annotations(default) For RenderFormFieldsOnly: 0 = Render the page including formfields (default) 1 = Only render the formfields For UseGammaCorrection: 0 = Turn off CMYK gamma correction 1 = Use CMYK Gamma correction (default) For Ignore ICCBased colorspaces: 0 = Render using ICCBased colorspaces 1 = Ignore ICCBased colorspace corrections For progress options: Reserved for future use For path combine mode: 0 = Normal (no path combining) 1 = Combine paths