_OlkCommandButton.AutoSize Property

Returns or sets a Boolean (bool in C#) that automatically sizes the control to display the entire contents. Read/write.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Property AutoSize As Boolean
    Get
    Set
'Usage
Dim instance As _OlkCommandButton
Dim value As Boolean

value = instance.AutoSize

instance.AutoSize = value
[DispIdAttribute()]
bool AutoSize { get; set; }

Property Value

Type: System.Boolean

Remarks

The default value for this property is False.

For a button control, this property specifies whether the control automatically adjusts to display the entire caption value.

See Also

Reference

_OlkCommandButton Interface

_OlkCommandButton Members

Microsoft.Office.Interop.Outlook Namespace