Share via


Axis.ScaleType Property

Returns or sets the value axis scale type. Read/write [XlScaleType#SameCHM].

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

Syntax

'Declaration
Property ScaleType As XlScaleType
    Get
    Set
'Usage
Dim instance As Axis
Dim value As XlScaleType

value = instance.ScaleType

instance.ScaleType = value
XlScaleType ScaleType { get; set; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.XlScaleType

Examples

This example sets the value axis for the first chart in the active document to use a logarithmic scale.

With ActivePresentation.Slides(1).Shapes(1)

    If .HasChart Then

        .Chart.Axes(xlValue).ScaleType= xlScaleLogarithmic

    End If

End With

See Also

Reference

Axis Interface

Axis Members

Microsoft.Office.Interop.PowerPoint Namespace