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,
  VARIANT_BOOL* 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 VARIANT_BOOL axis [in]

  axis is a parameter of type esriGridAxisEnum

Horizontal [in]   Horizontal is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

IGridLabel Interface