PostScriptFileDevice.margins

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

Gets the page margins.

Parameters

leftReceives the left margin
topReceives the top margin
rightReceives the right margin
bottomReceives the bottom margin