HasAutoAspectRatio Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

False if the aspect ratio of the specified chart has been modified. Set this property to True to restore the specified chart to it's default aspect ratio. Read-write Boolean.

expression.HasAutoAspectRatio

expression   Required. An expression that returns a ChChart object.

Example

This example resets the first chart in Chartspace1 to its default aspect ratio.

  Chartspace1.Charts(0).HasAutoAspectRatio = True