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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

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

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


CGImageSource.ClearProperties - CGImageSource.CreateWithData

Feedback: Report problem or ask question.