Export (0) Print
Expand All
Expand Minimize

Shape.ChangePicture Method (Visio)

Office 2013

Replaces the specified shape’s current picture with a new picture.

expression .ChangePicture(FileName,ChangePictureFlags)

expression A variable that represents a Shape object.

Parameters

Name

Required/Optional

Data type

Description

FileName

Required

STRING

Specifies the full path of the replacement picture.

ChangePictureFlags

Optional

INT32

Reserved for future implementation. Has no effect.

Return value

DOUBLE

The DOUBLE returned represents the ratio of the picture’s width to its height.

Show:
© 2014 Microsoft