GdPicture.NET.14
GdPicture14 Namespace / GdPictureDocumentUtilities Class / AddFontFolder Method / AddFontFolder(String,Boolean) Method
The new path to be added. Please use only one path in one method call.
Specifies if the subdirectories should be included in the system fonts lookup.
Example





In This Topic
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 Path As String, _
   ByVal RecurseSubdirectories As Boolean _
) 
public static void AddFontFolder( 
   string Path,
   bool RecurseSubdirectories
)
public procedure AddFontFolder( 
    Path: String;
    RecurseSubdirectories: Boolean
); static; 
public static function AddFontFolder( 
   Path : String,
   RecurseSubdirectories : boolean
);
public: static void AddFontFolder( 
   string* Path,
   bool RecurseSubdirectories
) 
public:
static void AddFontFolder( 
   String^ Path,
   bool RecurseSubdirectories
) 

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.
Remarks
You can apply this method several times if there is more than one location you need to specify.
Example
How to add a custom location containing used fonts.
GdPictureDocumentUtilities.AddFontFolder("d:\\fonts", True)
GdPictureDocumentUtilities.AddFontFolder("d:\\fonts", true);
See Also