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


ITextMargins.PutMargins Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IT > ITextMargins Interface > ITextMargins.PutMargins Method
ArcGIS Developer Help

ITextMargins.PutMargins Method

Sets the margins.

[Visual Basic .NET]
Public Sub PutMargins ( _
    ByVal Left As Double, _
    ByVal Top As Double, _
    ByVal Right As Double, _
    ByVal Bottom As Double _
)
[C#]
public void PutMargins (
    double Left,
    double Top,
    double Right,
    double Bottom
);
[C++]
HRESULT PutMargins(
  double Left,
  double Top,
  double Right,
  double Bottom
);
[C++]
Parameters
Left [in]

Left is a parameter of type double Top [in]
Top is a parameter of type double Right [in]
Right is a parameter of type double Bottom [in]
Bottom is a parameter of type double

Product Availability

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

Description

PutMargins enables setting the value for all four margins, left, top, right and bottom simultaneously.

See Also

ITextMargins Interface