Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

Addressbook.person.GetImage

Returns data that contains a picture of this person.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Addressbook 3.1 Yes No Yes, macOS only No Yes

MBS( "Addressbook.person.GetImage"; PersonID { ; ImageType; Filename } )

Parameters

Parameter Description Example value
PersonID The unique ID for the target person. $personID
ImageType Optional
The type of image to return. Either JPEG, PNG, GIF or BMP. Default is JPEG.
"JPEG"
Filename Optional
The filename to use for the picture. Default is "image" with the extension matching the image type.
"test.jpg"

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


Addressbook.person.ExternalUID   -   Addressbook.person.SetBirthdayComponents

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins