ArcObjects Library Reference (Display)  

ITextMargins.QueryMargins Method

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(
  double* Left,
  double* Top,
  double* Right,
  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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

QueryMargins returns the value for all four margins, left, top, right and bottom.

See Also

ITextMargins Interface