Partager via


Axis.DisplayUnit Property

Returns or sets the unit label for the value axis. Read/write XlDisplayUnit, xlCustom, or xlNone.

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

Syntax

'Declaration
Property DisplayUnit As XlDisplayUnit
    Get
    Set
'Usage
Dim instance As Axis
Dim value As XlDisplayUnit

value = instance.DisplayUnit

instance.DisplayUnit = value
XlDisplayUnit DisplayUnit { get; set; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.XlDisplayUnit

Remarks

Using unit labels when charting large values makes your tick-mark labels easier to read. For example, if you label your value axis in units of hundreds, thousands, or millions, you can use smaller numeric values at the tick marks on the axis.

See Also

Reference

Axis Interface

Axis Members

Microsoft.Office.Interop.PowerPoint Namespace