Muokkaa

Jaa


Zoom property

Specifies how much to change the size of a displayed object.

Syntax

object.Zoom [= Integer ]

The Zoom property syntax has these parts:

Part Description
object Required. A valid object.
Integer Optional. The percentage to increase or decrease the displayed image.

Remarks

The value of the Zoom property specifies a percentage of image enlargement or reduction by which an image display should change.

Values from 10 to 400 are valid. The value specified is a percentage of the object's original size; thus, a setting of 400 means you want to enlarge the image to four times its original size (or 400 percent), while a setting of 10 means you want to reduce the image to one-tenth of its original size (or 10 percent).

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.