Shape.ChangePicture method (Visio)
Replaces the specified shape's current picture with a new picture.
expression.ChangePicture (FileName, ChangePictureFlags)
expression A variable that represents a Shape object.
|FileName||Required||String||Specifies the full path of the replacement picture.|
|ChangePictureFlags||Optional||INT32||Reserved for future implementation. Has no effect.|
The DOUBLE returned represents the ratio of the picture's width to its height.
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.