Share via


Axis.MaximumScaleIsAuto Property

True if Microsoft Word calculates the maximum value for the value axis. Read/write Boolean.

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

Syntax

'Declaration
Property MaximumScaleIsAuto As Boolean
    Get
    Set
'Usage
Dim instance As Axis
Dim value As Boolean

value = instance.MaximumScaleIsAuto

instance.MaximumScaleIsAuto = value
bool MaximumScaleIsAuto { get; set; }

Property Value

Type: System.Boolean

Remarks

Setting the MaximumScale property sets this property to False.

Examples

This example automatically calculates the minimum scale and the maximum scale for the value axis of the first chart in the active document.

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

    If .HasChart Then

        With .Chart.Axes(xlValue)

            .MinimumScaleIsAuto = True

            .MaximumScaleIsAuto= True

        End With

    End If

End With

See Also

Reference

Axis Interface

Axis Members

Microsoft.Office.Interop.PowerPoint Namespace