共用方式為


OlkCommandButton.Picture Property (Outlook)

Returns or sets a StdPicture value that represents the 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

Concepts

OlkCommandButton Object

OlkCommandButton Object Members