![]()  | 
                    
                         This document is archived and information here might be outdated. Recommended version.  | 
                
| ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IC > IColorRampSymbol2 Interface > IColorRampSymbol2.Horizontal Property (ArcObjects .NET 10.5 SDK) | 
Indicates whether ramp is drawn horizontally.
[Visual Basic .NET] Public Property Horizontal As Boolean
[C#] public bool Horizontal {get; set;}
[C++]
HRESULT get_Horizontal(
  VARIANT_BOOL* flag
);
[C++]
HRESULT put_Horizontal(
  VARIANT_BOOL flag
);
[C++]
Parameters flag [out, retval] flag is a parameter of type VARIANT_BOOL flag [in] flag is a parameter of type VARIANT_BOOL