The number of frames contained in a multi-frame image
Property type
Read-only property
Syntax
Visual Basic
PublicProperty FrameCount AsInteger
Remarks
The actual frame displayed is controlled by the image’s Frame property. If the image does not contain a frame count, a value of 1 is returned. FrameCount only returns sensible values for images up to 32k frames – for larger images use LongFrameCount.