Table of contents
TOC
Collapse the table of content
Expand the table of content

Shape.ChangePicture Method (Visio)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

Syntax

expression . ChangePicture(FileName,ChangePictureFlags)

expression A variable that represents a Shape object.

Parameters

NameRequired/OptionalData typeDescription
FileNameRequiredSTRINGSpecifies the full path of the replacement picture.
ChangePictureFlagsOptionalINT32Reserved for future implementation. Has no effect.

Return value

DOUBLE

Remarks

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

© 2017 Microsoft