AddFontFolder(String,Boolean) Method
In This Topic
Adds a specified location, defined by its path, from which asked system fonts are loaded during the whole application lifecycle.
This location is appended to the previously set locations. If you need to add more locations, simply call this method for each required location.
Syntax
'Declaration
Public Overloads Shared Sub AddFontFolder( _
ByVal As String, _
ByVal As Boolean _
)
public static void AddFontFolder(
string ,
bool
)
public procedure AddFontFolder(
: String;
: Boolean
); static;
public static function AddFontFolder(
: String,
: boolean
);
public: static void AddFontFolder(
string* ,
bool
)
public:
static void AddFontFolder(
String^ ,
bool
)
Parameters
- Path
- The new path to be added. Please use only one path in one method call.
- RecurseSubdirectories
- Specifies if the subdirectories should be included in the system fonts lookup.
Example
How to add a custom location containing used fonts.
GdPictureDocumentUtilities.AddFontFolder("d:\\fonts", True)
GdPictureDocumentUtilities.AddFontFolder("d:\\fonts", true);
See Also