Compartilhar via


Axis.BaseUnit Property

Returns or sets the base unit for the specified category axis.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property BaseUnit As XlTimeUnit
    Get
    Set
'Usage
Dim instance As Axis
Dim value As XlTimeUnit

value = instance.BaseUnit

instance.BaseUnit = value
XlTimeUnit BaseUnit { get; set; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlTimeUnit

Remarks

Setting this property has no visible effect if the CategoryType property for the specified axis is set to xlCategoryScale. The set value is retained, however, and takes effect when the CategoryType property is set to xlTimeScale.

You cannot set this property for a value axis.

See Also

Reference

Axis Interface

Axis Members

Microsoft.Office.Interop.Excel Namespace