Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

CGImageSource.Count

Queries number of images in this image source.

Component Version macOS Windows Linux Server iOS SDK
CGImageSource 3.4 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ✅ Yes
MBS( "CGImageSource.Count"; Ref )   More

Parameters

Parameter Description Example
Ref The image source reference number returned by CGImageSource.CreateWithData, CGImageSource.CreateWithPath or CGImageSource.CreateWithURL $ref

Result

Returns number of images or error message.

Description

Queries number of images in this image source.

Examples

Query count:

MBS( "CGImageSource.Count"; $ref )

See also

Example Databases

This function checks for a license.

Created 18th August 2014, last changed 18th August 2014


CGImageSource.ClearProperties - CGImageSource.CreateWithData