Media Player SDK
ContentsIndexHome
PreviousUpNext
TVFMediaPlayer.Helpful_SaveFrameFromFile Method

Saves a frame from video file.

Pascal
function Helpful_SaveFrameFromFile(SourceFilename: WideString; Position: Integer; OutputFilename: WideString; Format: TVFImageFormat): Boolean;
C++
__fastcall Boolean Helpful_SaveFrameFromFile(BSTR SourceFilename, int Position, BSTR OutputFilename, TVFImageFormat Format);
C#
public Boolean Helpful_SaveFrameFromFile(String SourceFilename, int Position, String OutputFilename, TVFImageFormat Format);
Visual Basic
Public Function Helpful_SaveFrameFromFile(SourceFilename As String, Position As Integer, OutputFilename As String, Format As TVFImageFormat) As Boolean
Java
public Boolean Helpful_SaveFrameFromFile(string SourceFilename, int Position, string OutputFilename, TVFImageFormat Format);
IDL
Boolean Helpful_SaveFrameFromFile(BSTR SourceFilename, int Position, BSTR OutputFilename, TVFImageFormat Format);
JavaScript
Helpful_SaveFrameFromFile
Parameters 
Description 
SourceFilename: WideString 
Source video file name. 
Position: Integer 
Position. 
OutputFilename: WideString 
Output image file name. 
Format: TVFImageFormat 
Image format. 

Returns true if the operation has been successful.

Copyright (c) 2013. All rights reserved.
What do you think about this topic? Send feedback!