This document is archived and information here might be outdated.  Recommended version.


ITextMargins.QueryMargins Method (ArcObjects .NET 10.6 SDK)
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(
  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*

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