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

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

ITextMargins Interface

Provides access to members that control the text margins.

Product Availability

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


TextMargins control the distance between the text and the edge of the IBalloonCallout or ILineCallout. Each side, left, right, top and bottom can be given a unique value.


Name Description
Read/write property BottomMargin Value for the bottom margin.
Read/write property LeftMargin Value for the left margin.
Method PutMargins Sets the margins.
Method QueryMargins Returns the margins.
Read/write property RightMargin Value for the right margin.
Read/write property TopMargin Value for the top margin.

Classes that implement ITextMargins

Classes Description
BalloonCallout A filled background that is placed behind text.
LineCallout A series of line symbols that link text to a specified location.

See Also

IBalloonCallout Interface | ILineCallout Interface