Search
ShapeTemplate.Picture Property
See Also
 



Gets or sets the image displayed in all instances of this shape.

 Syntax

VB6  Copy Code

Public Property Get Picture() As IPictureDisp
Public Property Let Picture( _
    ByVal value As IPictureDisp _
)

C++  Copy Code

public:
IPictureDisp* get_Picture ()
void put_Picture (
    IPictureDisp* value
)

 Property Value

A picture object. The default is null (Nothing in Visual Basic).

 Remarks

The image is displayed in the rectangle specified via SetPictureRect. If the Picture property of a box is set, it overrides the image specified in the shape definition.

 See Also