_OlkCommandButton.Picture Property
Returns or sets an StdPicture that represents the picture that is displayed on the control. Read/write.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
<DispIdAttribute()> _
Property Picture As StdPicture
Get
Set
'Usage
Dim instance As _OlkCommandButton
Dim value As StdPicture
value = instance.Picture
instance.Picture = value
[DispIdAttribute()]
StdPicture Picture { get; set; }
Property Value
Type: StdPicture
Remarks
The default value is Nothing (a null reference (Nothing in Visual Basic) in C#).
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.