Share via


_OlkSenderPhoto.PreferredWidth Property

Returns an Integer (int in C#) value that specifies the application-preferred width of the sender picture. Read-only.

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

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property PreferredWidth As Integer
    Get
'Usage
Dim instance As _OlkSenderPhoto
Dim value As Integer

value = instance.PreferredWidth
[DispIdAttribute()]
int PreferredWidth { get; }

Property Value

Type: System.Int32

Remarks

The value is expressed in units of pixels. The default value is 72.

You can use this property and the PreferredHeight property to simulate Outlook's behavior to render, resize, and align the sender picture in a standard form.

See Also

Reference

_OlkSenderPhoto Interface

_OlkSenderPhoto Members

Microsoft.Office.Interop.Outlook Namespace