Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Sets the value for a property.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CGImageSource | 9.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
Ref | The image source reference number returned by CGImageSource.CreateWithData, CGImageSource.CreateWithPath or CGImageSource.CreateWithURL | $ref | |
Index | The index of the image to query. -1 for global properties. Else a number from 0 to CGImageSource.Count-1. | 0 | |
Key | The property name to query. | "PixelWidth" | |
Value | The value to use. Can be text, timestamp, boolean or number. |
"Hello" | |
Type | Available in MBS FileMaker Plugin 10.3 or newer. Which data type to use. Default is to auto to pick data type based on FileMaker data type. Can be "auto", "text", "number" or "array". For keywords, pass a list of values, which we pass as array. |
"text" | Optional |
Returns OK or error.
Set keywords:
MBS("CGImageSource.SetProperty"; $ref; 0; "{IPTC}.Keywords"; "First¶Second¶Third"; "Array")
This function checks for a license.
Created 30th August 2019, last changed 19th June 2020