Partager via


Axis.MajorUnit Property

Returns or sets the major units for the value axis. Read/write double-precision floating-point number.

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

Syntax

'Declaration
Property MajorUnit As Double
    Get
    Set
'Usage
Dim instance As Axis
Dim value As Double

value = instance.MajorUnit

instance.MajorUnit = value
double MajorUnit { get; set; }

Property Value

Type: System.Double

Remarks

Setting this property sets the MajorUnitIsAuto property to false.

Use the TickMarkSpacing property to set tick mark spacing on the category axis.

See Also

Reference

Axis Interface

Axis Members

Microsoft.Office.Interop.PowerPoint Namespace