VisioForge Video Capture SDK (Delphi / ActiveX)
ContentsIndexHome
PreviousUpNext
TVFVideoCapture.OSD_Layers_Draw_ImageFromFileEx Method

Draws an image on the selected layer.

Pascal
function OSD_Layers_Draw_ImageFromFileEx(ID: Integer; Filename: WideString; SrcLeft: Integer; SrcTop: Integer; SrcWidth: Integer; SrcHeight: Integer; DestLeft: Integer; DestTop: Integer; DestWidth: Integer; DestHeight: Integer): Boolean;
C++
__fastcall Boolean OSD_Layers_Draw_ImageFromFileEx(int ID, BSTR Filename, int SrcLeft, int SrcTop, int SrcWidth, int SrcHeight, int DestLeft, int DestTop, int DestWidth, int DestHeight);
C#
public Boolean OSD_Layers_Draw_ImageFromFileEx(int ID, String Filename, int SrcLeft, int SrcTop, int SrcWidth, int SrcHeight, int DestLeft, int DestTop, int DestWidth, int DestHeight);
Visual Basic
Public Function OSD_Layers_Draw_ImageFromFileEx(ID As Integer, Filename As String, SrcLeft As Integer, SrcTop As Integer, SrcWidth As Integer, SrcHeight As Integer, DestLeft As Integer, DestTop As Integer, DestWidth As Integer, DestHeight As Integer) As Boolean
Java
public Boolean OSD_Layers_Draw_ImageFromFileEx(int ID, string Filename, int SrcLeft, int SrcTop, int SrcWidth, int SrcHeight, int DestLeft, int DestTop, int DestWidth, int DestHeight);
IDL
Boolean OSD_Layers_Draw_ImageFromFileEx(int ID, BSTR Filename, int SrcLeft, int SrcTop, int SrcWidth, int SrcHeight, int DestLeft, int DestTop, int DestWidth, int DestHeight);
JavaScript
OSD_Layers_Draw_ImageFromFileEx
PHP
public Boolean OSD_Layers_Draw_ImageFromFileEx($ID, $Filename, $SrcLeft, $SrcTop, $SrcWidth, $SrcHeight, $DestLeft, $DestTop, $DestWidth, $DestHeight);
Parameters 
Description 
ID: Integer 
ID. 
Filename: WideString 
File name. 
SrcLeft: Integer 
Source left. 
SrcTop: Integer 
Source top. 
SrcWidth: Integer 
Source width. 
SrcHeight: Integer 
Source height. 
DestLeft: Integer 
Destination left. 
DestTop: Integer 
Destination top. 
DestWidth: Integer 
Destination width. 
DestHeight: Integer 
Destination height. 

Returns if operation was successful, otherwise method returns .

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