GetOrigin
Measurement and coordinate units
Description
Returns the co-ordinate system origin as set with the SetOrigin function. Use GetGlobalOrigin to return the co-ordinate system origin set with the SetGlobalOrigin function for standalone and direct access functions.
Syntax
Delphi
function TDebenuPDFLibrary1811.GetOrigin: Integer;
ActiveX
Function DebenuPDFLibrary1811.PDFLibrary::GetOrigin As Long
DLL
int DPLGetOrigin(int InstanceID)
Return values
| 0 | (0,0) of underlying coordinate system |
| 1 | Top left (deprecated, rather use 5 or 7) |
| 2 | Top right (deprecated) |
| 3 | Bottom right (deprecated) |
| 4 | Bottom left of crop box |
| 5 | Top left of crop box |
| 6 | Bottom left of media box |
| 7 | Top left of media box |
