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