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


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

IGridLabel2.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

IGridLabel2 Interface