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

Draws an image on the selected layer.

Pascal
function OSD_Layers_Draw_ImageFromFile_TransEx(ID: Integer; Filename: WideString; SrcLeft: Integer; SrcTop: Integer; SrcWidth: Integer; SrcHeight: Integer; DestLeft: Integer; DestTop: Integer; DestWidth: Integer; DestHeight: Integer; ColorKey: TColor): Boolean;
C++
__fastcall Boolean OSD_Layers_Draw_ImageFromFile_TransEx(int ID, BSTR Filename, int SrcLeft, int SrcTop, int SrcWidth, int SrcHeight, int DestLeft, int DestTop, int DestWidth, int DestHeight, TColor ColorKey);
C#
public Boolean OSD_Layers_Draw_ImageFromFile_TransEx(int ID, String Filename, int SrcLeft, int SrcTop, int SrcWidth, int SrcHeight, int DestLeft, int DestTop, int DestWidth, int DestHeight, TColor ColorKey);
Visual Basic
Public Function OSD_Layers_Draw_ImageFromFile_TransEx(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, ColorKey As TColor) As Boolean
Java
public Boolean OSD_Layers_Draw_ImageFromFile_TransEx(int ID, string Filename, int SrcLeft, int SrcTop, int SrcWidth, int SrcHeight, int DestLeft, int DestTop, int DestWidth, int DestHeight, TColor ColorKey);
IDL
Boolean OSD_Layers_Draw_ImageFromFile_TransEx(int ID, BSTR Filename, int SrcLeft, int SrcTop, int SrcWidth, int SrcHeight, int DestLeft, int DestTop, int DestWidth, int DestHeight, TColor ColorKey);
JavaScript
OSD_Layers_Draw_ImageFromFile_TransEx
PHP
public Boolean OSD_Layers_Draw_ImageFromFile_TransEx($ID, $Filename, $SrcLeft, $SrcTop, $SrcWidth, $SrcHeight, $DestLeft, $DestTop, $DestWidth, $DestHeight, TColor $ColorKey);
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. 
ColorKey: TColor 
Color key. 

Returns if operation was successful, otherwise method returns .

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