VisioForge Video Capture SDK (Delphi / ActiveX)
|
Draws text on the selected layer.
function OSD_Layers_Draw_Text(ID: Integer; Left_: Integer; Top_: Integer; text: WideString; FontName: WideString; FontSize: Integer; FontBold: Boolean; FontItalic: Boolean; FontUnderline: Boolean; FontStrikeOut: Boolean; FontColor: TColor; FontColorAlpha: byte): Boolean;
__fastcall Boolean OSD_Layers_Draw_Text(int ID, int Left_, int Top_, BSTR text, BSTR FontName, int FontSize, Boolean FontBold, Boolean FontItalic, Boolean FontUnderline, Boolean FontStrikeOut, TColor FontColor, byte FontColorAlpha);
public Boolean OSD_Layers_Draw_Text(int ID, int Left_, int Top_, String text, String FontName, int FontSize, Boolean FontBold, Boolean FontItalic, Boolean FontUnderline, Boolean FontStrikeOut, TColor FontColor, byte FontColorAlpha);
Public Function OSD_Layers_Draw_Text(ID As Integer, Left_ As Integer, Top_ As Integer, text As String, FontName As String, FontSize As Integer, FontBold As Boolean, FontItalic As Boolean, FontUnderline As Boolean, FontStrikeOut As Boolean, FontColor As TColor, FontColorAlpha As byte) As Boolean
public Boolean OSD_Layers_Draw_Text(int ID, int Left_, int Top_, string text, string FontName, int FontSize, Boolean FontBold, Boolean FontItalic, Boolean FontUnderline, Boolean FontStrikeOut, TColor FontColor, byte FontColorAlpha);
Boolean OSD_Layers_Draw_Text(int ID, int Left_, int Top_, BSTR text, BSTR FontName, int FontSize, Boolean FontBold, Boolean FontItalic, Boolean FontUnderline, Boolean FontStrikeOut, TColor FontColor, byte FontColorAlpha);
OSD_Layers_Draw_Text
public Boolean OSD_Layers_Draw_Text($ID, $Left_, $Top_, $text, $FontName, $FontSize, Boolean $FontBold, Boolean $FontItalic, Boolean $FontUnderline, Boolean $FontStrikeOut, TColor $FontColor, byte $FontColorAlpha);
Parameters |
Description |
ID: Integer |
Layer ID. |
Left_: Integer |
Left. |
Top_: Integer |
Top. |
text: WideString |
Text. |
FontName: WideString |
Font name. |
FontSize: Integer |
Font size. |
FontBold: Boolean |
Font bold. |
FontItalic: Boolean |
Font italic. |
FontUnderline: Boolean |
Font underline. |
FontStrikeOut: Boolean |
Font strike out. |
FontColor: TColor |
Font color. |
FontColorAlpha: byte |
Font color alpha. |
True if the operation has been successful.
Copyright (c) 2012. All rights reserved.
|
What do you think about this topic? Send feedback!
|