Axis.MajorUnitScale Property

Returns or sets the major unit scale value for the category axis when the CategoryType property is set to xlTimeScale.

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

Syntax

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

value = instance.MajorUnitScale

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

Property Value

Type: Microsoft.Office.Interop.Excel.XlTimeUnit

Remarks

XlTimeUnit can be one of these XlTimeUnit constants:

xlMonths

xlDays

xlYears

See Also

Reference

Axis Interface

Axis Members

Microsoft.Office.Interop.Excel Namespace