Media Player SDK
|
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
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) 2013. All rights reserved.
|
What do you think about this topic? Send feedback!
|