Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Latest commit

 

History

History
40 lines (21 loc) · 806 Bytes

shape-changepicture-method-visio.md

File metadata and controls

40 lines (21 loc) · 806 Bytes
title ms.prod ms.assetid ms.date
Shape.ChangePicture Method (Visio)
visio
9193d802-cebd-2bfd-5f8e-400fac36c1a5
06/08/2017

Shape.ChangePicture Method (Visio)

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

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

Remarks

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