Partager via


Axis.MajorUnitScale Property

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

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.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.PowerPoint.XlTimeUnit

Remarks

MajorUnitScale can be one of the following XlTimeUnit constants:

xlMonths

xlDays

xlYears

See Also

Reference

Axis Interface

Axis Members

Microsoft.Office.Interop.PowerPoint Namespace