GdPicture.NET.14
GdPicture14 Namespace / GdPictureDocumentUtilities Class / AddFontFolder Method / AddFontFolder(String) Method
The new path to be added. Please use only one path in one method call.
Example





In This Topic
AddFontFolder(String) 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 _
) 
public static void AddFontFolder( 
   string Path
)
public procedure AddFontFolder( 
    Path: String
); static; 
public static function AddFontFolder( 
   Path : String
);
public: static void AddFontFolder( 
   string* Path
) 
public:
static void AddFontFolder( 
   String^ Path
) 

Parameters

Path
The new path to be added. Please use only one path in one method call.
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")
GdPictureDocumentUtilities.AddFontFolder("d:\\fonts");
See Also