Edit

Share via


Databar.AxisPosition Property

Definition

Gets or sets the position of the axis of the data bars specified by a conditional formatting rule.

public:
 property Microsoft::Office::Interop::Excel::XlDataBarAxisPosition AxisPosition { Microsoft::Office::Interop::Excel::XlDataBarAxisPosition get(); void set(Microsoft::Office::Interop::Excel::XlDataBarAxisPosition value); };
public Microsoft.Office.Interop.Excel.XlDataBarAxisPosition AxisPosition { get; set; }
Public Property AxisPosition As XlDataBarAxisPosition

Property Value

The position of the axis of the data bars specified by a conditional formatting rule.

Remarks

Read/write.

The axis for data bars is displayed only when the AxisPosition property is either xlDataBarAxisAutomatic or xlDataBarAxisMidpoint, and when there are negative values in the range of values specified with a data bar conditional formatting rule. The default value for the AxisPosition property is xlDataBarAxisAutomatic.

Applies to