DbCommandImageAccessorCreateGetFrameCountCommand Method |
A command that returns the frame count for an image. If this method returns null, the frame count will
be determined by decoding the image stream. If not null, this command should result in a single row dataset
with the frame count in the first column.
If the frame count is stored separately from the image stream, implementing
this method can greatly increase performance (especially first access). This command should not be associated with
any connection.
Namespace:
Atalasoft.Imaging.ImageSources.Data
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax protected virtual IDbCommand CreateGetFrameCountCommand(
IDbConnection conn,
int imageStreamIndex
)
Protected Overridable Function CreateGetFrameCountCommand (
conn As IDbConnection,
imageStreamIndex As Integer
) As IDbCommand
Parameters
- conn
- Type: System.DataIDbConnection
A connection to the database. - imageStreamIndex
- Type: SystemInt32
The index of the image stream in the source.
Return Value
Type:
IDbCommand A command that returns the frame count for an image.
See Also