'Declaration
Public Overloads Function AddTrueTypeFontU( _ ByVal FontName As String, _ ByVal CharSet As FontCharSet, _ ByVal Bold As Boolean, _ ByVal Italic As Boolean _ ) As String
public string AddTrueTypeFontU( string FontName, FontCharSet CharSet, bool Bold, bool Italic )
public function AddTrueTypeFontU( FontName: String; CharSet: FontCharSet; Bold: Boolean; Italic: Boolean ): String;
public function AddTrueTypeFontU( FontName : String, CharSet : FontCharSet, Bold : boolean, Italic : boolean ) : String;
public: string* AddTrueTypeFontU( string* FontName, FontCharSet CharSet, bool Bold, bool Italic )
public: String^ AddTrueTypeFontU( String^ FontName, FontCharSet CharSet, bool Bold, bool Italic )
Parameters
- FontName
- The name of the required system font to add for use in the PDF document.
- CharSet
- Since version 14 this parameter is obsolete, that means the value you set here is no longer used.
- Bold
- Set this parameter to true if you want to add the font in the bold style, otherwise set it to false.
- Italic
- Set this parameter to true if you want to add the font in the italic style, otherwise set it to false.
Return Value
Returns a resource name of the specified font required for the next usage within the PDF document. The GetStat method can be subsequently used to determine if this method has been successful.
This resource name you can subsequently pass, for example, to the DrawText method, as well as to all methods, which have a font resource name as a parameter.