Click or drag to resize

BaseCommonDecoderGetFrameCount Method (String)

Returns the number of frames in the image

Namespace:  Atalasoft.Imaging.Codec
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.5.0.5.0.230 (.NET 4.6.2, x86)
Syntax
public virtual int GetFrameCount(
	string filePath
)

Parameters

filePath
Type: SystemString
Location of a file in a computer's file system structure.

Return Value

Type: Int32
The number of frames in the image
Exceptions
ExceptionCondition
ArgumentException

filePath is null or empty.

CommonDecoderException

file decoding error.

See Also