Export (0) Print
Expand All

_ContactItem.AddPicture Method

Adds a picture to a contact item.

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

[DispIdAttribute()]
void AddPicture(
	string Path
)

Parameters

Path
Type: System.String

A string containing the complete path and filename of the picture to be added to the contact item.

If the contact item already has a picture attached to it, this method will overwrite the existing picture.

The picture can be an icon, GIF, JPEG, BMP, TIFF, WMF, EMF, or PNG file. Microsoft Outlook will automatically perform the necessary resizing of the picture.

Show:
© 2014 Microsoft