GetFrameBySize2HBitmap
|
GetFrameBySize2HBitmap Method |
Description
Capture the frame from video file in specific duration and return specific size of HBitmap handle. After called , you need release HBitmap handle.
Syntax
Public Function GetFrameBySize2HBitmap ( _ |
Parameters
strInputFile
the path of video file
iSecond
capture time in seconds
iWidth
the width of picture object
iHeight
the height of picture object
Return Value
Return Window HBITMAP handle
Example
[Visual Basic Syntax] |