This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IT > ITextMargins Interface > ITextMargins.QueryMargins Method (ArcObjects .NET 10.4 SDK) |
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
QueryMargins returns the value for all four margins, left, top, right and bottom.