ContactPicture Microsoft.Office.Interop.Outlook

A

Alexander

I am trying to use the office interop to retrieve a contact photo for a
given contact if available

I am able to iterate thru my contacts:

Outlook.ContactItem contact =
(Outlook.ContactItem)contacts.Items;

and i am able to check if a contact has a contact photo:

if(contact.HasPicture)

but i have no idea how i can get access to the ContactPhoto and i been
googling with no luck????
 
K

Ken Slovak - [MVP - Outlook]

The contact picture is an attachment on the item. You would have to go
through the Attachments collection of the item and find the picture that
way.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top