PostScriptDevice.margins

void margins(out int left, out int top, out int right, out int bottom)

Gets the page margins.

Parameters

leftOutput: left margin
topOutput: top margin
rightOutput: right margin
bottomOutput: bottom margin