Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
CGImageSource.HasProperty
Query whether the property exists.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| CGImageSource | 9.4 | Yes | No | No | Yes, macOS only | Yes |
MBS( "CGImageSource.HasProperty"; Ref; Index; Key ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| 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" |
Result
Returns 1, 0 or error.
Description
Query whether the property exists.Returns 1 if property is found.
See also
- CGImageSource.ClearProperties
- CGImageSource.Count
- CGImageSource.CreateWithData
- CGImageSource.CreateWithPath
- CGImageSource.CreateWithURL
- CGImageSource.Properties
- CGImageSource.Property
- CGImageSource.SetProperty
Blog Entries
Release notes
- Version 9.4
- Added CGImageSource.HasProperty and CGImageSource.SetProperty to set metadata (IPTC/EXIF) and write file back.
Created 30th August 2019, last changed 28th November 2019
CGImageSource.FileName - CGImageSource.ImageAtIndex
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins