CGXProperties::GetMargins
void GetMargins(int& top, int& left, int& bottom, int& right);
top
A reference to an integer to receive top margin in 1 / GXGetFontState()->m_nLogPixelsX (or Y) since the logical coordinates for printing are setup in 1/screen_dpi units.
left
A reference to an integer to receive left margin in 1 / GXGetFontState()->m_nLogPixelsX (or Y) since the logical coordinates for printing are setup in 1/screen_dpi units.
bottom
A reference to an integer to receive bottom margin in 1 / GXGetFontState()->m_nLogPixelsX (or Y) since the logical coordinates for printing are setup in 1/screen_dpi units.
right
A reference to an integer to receive right margin in 1 / GXGetFontState()->m_nLogPixelsX (or Y) since the logical coordinates for printing are setup in 1/screen_dpi units.
Remarks
Returns print margins.
See Also
CGXProperties::SetMargins
CGXGridCore::OnAdjustPrintRectangle for a note on how to adjust non-printable margins.