TextOverlay_CreateCustomFont
method
Delphi
function TextOverlay_CreateCustomFont (Index: LongInt; fHeight: LongInt; fWidth: LongInt; fEscapement: LongInt; fOrientation: LongInt; fWeight: LongInt; fItalic: Boolean; fUnderline: Boolean; fStrikeOut: Boolean; fCharSet: LongWord_; fOutputPrecision: LongWord_; fClipPrecision: LongWord_; fQuality: LongWord_; fPitchAndFamily: LongWord_; FontFacename: string): Boolean;
C++Builder
bool __fastcall TextOverlay_CreateCustomFont(System::LongInt Index, System::LongInt fHeight, System::LongInt fWidth, System::LongInt fEscapement, System::LongInt fOrientation, System::LongInt fWeight, bool fItalic, bool fUnderline, bool fStrikeOut, LongWord_ fCharSet, LongWord_ fOutputPrecision, LongWord_ fClipPrecision, LongWord_ fQuality, LongWord_ fPitchAndFamily, System::UnicodeString FontFacename);
C#
public bool TextOverlay_CreateCustomFont(int Index, int fHeight, int fWidth, int fEscapement, int fOrientation, int fWeight, bool fItalic, bool fUnderline, bool fStrikeOut, uint fCharSet, uint fOutputPrecision, uint fClipPrecision, uint fQuality, uint fPitchAndFamily, string FontFacename);
VB.NET
Public Function TextOverlay_CreateCustomFont(Index As Integer, fHeight As Integer, fWidth As Integer, fEscapement As Integer, fOrientation As Integer, fWeight As Integer, fItalic As Boolean, fUnderline As Boolean, fStrikeOut As Boolean, fCharSet As UInteger, fOutputPrecision As UInteger, fClipPrecision As UInteger, fQuality As UInteger, fPitchAndFamily As UInteger, FontFacename As String) As Boolean
C++/Qt
BOOL TextOverlay_CreateCustomFont (int Index, int fHeight, int fWidth, int fEscapement, int fOrientation, int fWeight, BOOL fItalic, BOOL fUnderline, BOOL fStrikeOut, unsigned int fCharSet, unsigned int fOutputPrecision, unsigned int fClipPrecision, unsigned int fQuality, unsigned int fPitchAndFamily, wchar_t *FontFacename);
Creates a custom font for the current text overlay selected with TextOverlay_Selector. E.g.: VideoGrabber.TextOverlay_Selector = 4; VideoGrabber.TextOverlay_CreateCustomFont (16, 30, 0, 0, 200, true, false, false, 2, 0, 0, 0, 0, "Wingdings"); VideoGrabber.TextOverlay_Enabled = true.