SetOrigin

Measurement and coordinate units

Description

Sets the origin for all subsequent drawing operations.

Syntax

Delphi

function TPDFlib.SetOrigin(Origin: Integer): Integer;

ActiveX

Function PDFlib::SetOrigin(Origin As Long) As Long

DLL

int DLSetOrigin(int InstanceID, int Origin);

Parameters

OriginSpecifies which page corner to use for the origin: 0 = Bottom left (default) 1 = Top left 2 = Top right 3 = Bottom right Anything else = Bottom left