IGridLabel.LabelAlignment Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IGridLabel.LabelAlignment Property

Indicates if the grid label is horizontal (true) or vertical (false) on the specified axis.

[Visual Basic .NET]
Public Function get_LabelAlignment ( _
    ByVal axis As esriGridAxisEnum _
) As Boolean
[Visual Basic .NET]
Public Sub set_LabelAlignment ( _
    ByVal axis As esriGridAxisEnum, _
    ByVal Horizontal As Boolean _
)
[C#]
public bool get_LabelAlignment (
    esriGridAxisEnum axis
);
[C#]
public void set_LabelAlignment (
    esriGridAxisEnum axis,
    bool Horizontal
);
[C++]
HRESULT get_LabelAlignment(
  esriGridAxisEnum axis,
  Boolean* Horizontal
);
[C++]
HRESULT put_LabelAlignment(
  esriGridAxisEnum axis,
  VARIANT_BOOL Horizontal
);
[C++]

Parameters axis [in]
axis is a parameter of type esriGridAxisEnum Horizontal [out, retval]
Horizontal is a parameter of type bool* axis [in]
axis is a parameter of type esriGridAxisEnum Horizontal [in]
Horizontal is a parameter of type bool

Product Availability

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

See Also

IGridLabel Interface

.NET Related Topics

Creating map grid labels