ltmmConvertCtrl.SaveStillBitmap Method

Visual Basic Example

Syntax

object.SaveStillBitmap(Filename As String, Format As Long, Quality As Long, Flags As Long, Timeout As Long)

Remarks

Saves a snapshot from the running stream to a file as a bitmap.

This method blocks (does not return) until the timeout occurs or the sample is snapped.

If the Filename parameter is an empty string the method will return an error.

If the file name passed to the Filename parameter currently exists, the existing file will be overwritten.

Be sure to set the value of the ltmmConvertCtrl.EnableStillCapture property to TRUE before calling this method in order to save a snapshot from the running stream to a file.

Use the ltmmConvertCtrl.EnableStillCapture property to indicate whether still images can be captured during conversion. Use the ltmmConvertCtrl.StillCaptureLimit property to get or set the time limit, in milliseconds, for capturing a still image.

Platforms

Win32, x64

See Also

Elements:

ltmmConvertCtrl.EnableStillCapture property, ltmmConvertCtrl.StillCaptureLimit property

Topics:

Multimedia Properties, Methods and Events