This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGridLabel Interface > IGridLabel.LabelAlignment Property (ArcObjects .NET 10.5 SDK) |
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