Share via


Axis.MaximumScale Property

Returns or sets the maximum value on the value axis. Read/write Double.

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

Syntax

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

value = instance.MaximumScale

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

Property Value

Type: System.Double

Remarks

Setting this property sets the MaximumScaleIsAuto property to False.

Examples

This example sets the minimum and maximum values 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)

            .MinimumScale = 10

            .MaximumScale= 120

        End With

    End If

End With

See Also

Reference

Axis Interface

Axis Members

Microsoft.Office.Interop.PowerPoint Namespace