'Declaration
Public Overloads Function AddTrueTypeFontU( _ ByVal FontName As String, _ ByVal Bold As Boolean, _ ByVal Italic As Boolean, _ ByVal EnableSubset As Boolean _ ) As String
public string AddTrueTypeFontU( string FontName, bool Bold, bool Italic, bool EnableSubset )
public function AddTrueTypeFontU( FontName: String; Bold: Boolean; Italic: Boolean; EnableSubset: Boolean ): String;
public function AddTrueTypeFontU( FontName : String, Bold : boolean, Italic : boolean, EnableSubset : boolean ) : String;
public: string* AddTrueTypeFontU( string* FontName, bool Bold, bool Italic, bool EnableSubset )
public: String^ AddTrueTypeFontU( String^ FontName, bool Bold, bool Italic, bool EnableSubset )
Parameters
- FontName
- The name of the required system font to add for use in the PDF document.
- 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.
- EnableSubset
- Set this parameter to true if you want to subset the font, otherwise set it to false.
Subsetting a font allows you to keep a file smaller, but note that the font subset is gradually updated with each use of the GdPicturePDF.DrawText method.
Return Value
This resource name you can subsequently pass, for example, to the GdPicturePDF.DrawText method, as well as to all methods, which have a font resource name as a parameter.