Share via


OlkCommandButton.Picture Property

Outlook Developer Reference

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

Version Information
 Version Added:  Outlook 2007

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