OlkCommandButton.Picture property (Outlook)

Returns or sets a StdPicture value that represents the picture that is displayed on the control. Read/write.

Syntax

expression. Picture

expression A variable that represents an OlkCommandButton object.

Remarks

The picture is of the Microsoft Windows type StdPicture. The default value is Null (Nothing in Visual Basic).

A picture and text cannot be displayed at the same time on the control, so when the picture property is set, the text property is ignored.

The picture is always displayed in the center of the button control. The picture will be clipped as necessary to fit in the available space.

See also

OlkCommandButton Object

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.