SetRenderDCOffset

Rendering and printing

Description

Sets the position on the device context that the RenderPageToDC and DARenderPageToDC

functions use for the top-left corner of the rendered output.

Syntax

Delphi

function TPDFlib.SetRenderDCOffset(NewOffsetX, NewOffsetY: Integer): Integer;

ActiveX

Function PDFlib::SetRenderDCOffset(NewOffsetX As Long, NewOffsetY As Long) As Long

DLL

int DLSetRenderDCOffset(int InstanceID, int NewOffsetX, int NewOffsetY);

Parameters

NewOffsetXThe horizontal offset measured in pixels
NewOffsetYThe vertical offset measured in pixels