Click or drag to resize

DbStoredProcImageAccessorCreateGetFrameCountCommand Method

Creates a command that can get the frame count of an image stream.

Namespace:  Atalasoft.Imaging.ImageSources.Data
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
protected override IDbCommand CreateGetFrameCountCommand(
	IDbConnection conn,
	int imageStreamIndex
)

Parameters

conn
Type: System.DataIDbConnection
A connection to the database.
imageStreamIndex
Type: SystemInt32
index of the image stream.

Return Value

Type: IDbCommand
A command that will return a single row with the frame count of an image stream in the first column. If it returns null, the frame count will be determined by decoding the image.
See Also