This document is archived and information here might be outdated. Recommended version. |
Returns the margins.
[Visual Basic .NET]
Public Sub QueryMargins ( _
ByRef Left As Double, _
ByRef Top As Double, _
ByRef Right As Double, _
ByRef Bottom As Double _
)
[C#]
public void QueryMargins (
ref double Left,
ref double Top,
ref double Right,
ref double Bottom
);
[C++]
HRESULT QueryMargins(
System.Double* Left,
System.Double* Top,
System.Double* Right,
System.Double* Bottom
);
[C++] Parameters Left [out]
Left is a parameter of type double* Top [out]
Top is a parameter of type double* Right [out]
Right is a parameter of type double* Bottom [out]
Bottom is a parameter of type double*
QueryMargins returns the value for all four margins, left, top, right and bottom.