This documentation is archived and is not being maintained.

Image.GetFrameCount Method

Returns the number of frames of the specified dimension.

[Visual Basic]
Public Function GetFrameCount( _
   ByVal dimension As FrameDimension _
) As Integer
public int GetFrameCount(
 FrameDimension dimension
public: int GetFrameCount(
 FrameDimension* dimension
public function GetFrameCount(
   dimension : FrameDimension
) : int;


A FrameDimension that specifies the identity of the dimension type.

Return Value

The number of frames in the specified dimension.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Image Class | Image Members | System.Drawing Namespace