Contains data and type of contact's photo. More...
Inherits Aspose::Email::PersonalInfo::ContactPhoto.
Public Member Functions | |
| MapiContactPhoto (System::ArrayPtr< uint8_t > data, MapiContactPhotoImageFormat photoImageFormat) | |
| Initializes a new instance of the MapiContactPhoto class More... | |
| void | SetProperties (System::SharedPtr< MapiMessage > msg) |
| Sets the message properties. More... | |
| void | ToVCard (System::SharedPtr< Aspose::Email::PersonalInfo::VCard::VCardHeaderList > vCardProperties) |
| Converts this MapiContactPhoto into vCard properties and adds them to the specified. VCardHeaderList More... | |
Public Member Functions inherited from Aspose::Email::PersonalInfo::ContactPhoto | |
| System::SharedPtr< ObjectIdentifier > | get_Id () const |
| Gets object identification information More... | |
| Aspose::Email::Mapi::MapiContactPhotoImageFormat | get_PhotoImageFormat () const |
| Gets a photo type. More... | |
| void | set_PhotoImageFormat (Aspose::Email::Mapi::MapiContactPhotoImageFormat value) |
| Gets a photo type. More... | |
| System::ArrayPtr< uint8_t > | get_Data () const |
| Gets an image data. More... | |
| void | set_Data (System::ArrayPtr< uint8_t > value) |
| Gets an image data. More... | |
| ContactPhoto () | |
| Initializes a new instance of the ContactPhoto class. More... | |
| ContactPhoto (System::ArrayPtr< uint8_t > data, Aspose::Email::Mapi::MapiContactPhotoImageFormat photoImageFormat) | |
| Initializes a new instance of the ContactPhoto class More... | |
Static Public Member Functions | |
| static System::SharedPtr< MapiContactPhoto > | FromMapiMessage (System::SharedPtr< MapiMessage > msg) |
| Gets MapiContactPhoto from MapiMessage. More... | |
| static System::SharedPtr< MapiContactPhoto > | FromVCardPhoto (System::SharedPtr< Aspose::Email::PersonalInfo::VCard::VCardPhoto > photo) |
| Gets MapiContactPhoto from VCardPhoto. More... | |
| static MapiContactPhotoImageFormat | MediaTypeToMapiContactPhotoType (System::String mediaType) |
| static System::String | MapiContactPhotoTypeToMediaType (MapiContactPhotoImageFormat imageFormat) |
| static MapiContactPhotoImageFormat | VCardToMapiContactPhotoType (Aspose::Email::PersonalInfo::VCard::VCardPhotoType vcardType) |
| static Aspose::Email::PersonalInfo::VCard::VCardPhotoType | MapiContactToVCardPhotoType (MapiContactPhotoImageFormat mapiContPhotoImageFormat) |
Additional Inherited Members | |
Public Attributes inherited from Aspose::Email::PersonalInfo::ContactPhoto | |
| System::ArrayPtr< uint8_t > | data |
| <remark> More... | |
| Aspose::Email::Mapi::MapiContactPhotoImageFormat | photoImageFormat |
| <remark> More... | |
Contains data and type of contact's photo.
| Aspose::Email::Mapi::MapiContactPhoto::MapiContactPhoto | ( | System::ArrayPtr< uint8_t > | data, |
| MapiContactPhotoImageFormat | photoImageFormat | ||
| ) |
Initializes a new instance of the MapiContactPhoto class
| data | Image data of photo. |
| photoImageFormat | Image format of photo MapiContactPhotoImageFormat. |
|
static |
Gets MapiContactPhoto from MapiMessage.
| msg | MapiMessage.MapiMessage
|
|
static |
|
static |
|
static |
|
static |
| void Aspose::Email::Mapi::MapiContactPhoto::SetProperties | ( | System::SharedPtr< MapiMessage > | msg | ) |
Sets the message properties.
| msg | The MapiMessage. |
| void Aspose::Email::Mapi::MapiContactPhoto::ToVCard | ( | System::SharedPtr< Aspose::Email::PersonalInfo::VCard::VCardHeaderList > | vCardProperties | ) |
Converts this MapiContactPhoto into vCard properties and adds them to the specified. VCardHeaderList
| vCardProperties | A VCardHeaderList |
|
static |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |