次の方法で共有


_OlkSenderPhoto.PreferredHeight Property

Returns an Integer (int in C#) value that specifies the application-preferred height 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 PreferredHeight As Integer
    Get
'Usage
Dim instance As _OlkSenderPhoto
Dim value As Integer

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

Property Value

Type: System.Int32

Remarks

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

You can use this property and the PreferredWidth 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