Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Addressbook.person.GetImage
Returns data that contains a picture of this person.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Addressbook | 3.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Deprecated
This function was deprecated. Use Contacts functions instead.
MBS( "Addressbook.person.GetImage"; PersonID { ; ImageType; FileName } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
PersonID | The unique ID for the target person. | $personID | |
ImageType | The type of image to return. Either JPEG, PNG, GIF or BMP. Default is JPEG. | "JPEG" | Optional |
FileName | The filename to use for the picture. Default is "image" with the extension matching the image type. | "test.jpg" | Optional |
Result
Returns an image as container value or error.
Description
Returns data that contains a picture of this person.Examples
Get my image into container field:
Set Variable [$myID; Value:MBS( "Addressbook.me" )]
Set Variable [$image; Value:MBS( "Addressbook.person.GetImage"; $myID)]
Set Field [Test::Image; $image]
See also
This function checks for a license.
Created 18th August 2014, last changed 16th December 2015
Addressbook.person.ExternalUID - Addressbook.person.SetBirthdayComponents
