GdPicture.NET Reference Guide
FontGetName Method (GdPictureImaging)
Example 





GdPicture14 Namespace > GdPictureImaging Class : FontGetName Method
Value between 1 and FontGetCount().
Retrieves the name of an available font.
Syntax
'Declaration
 
Public Function FontGetName( _
   ByVal FontNo As Integer _
) As String
public string FontGetName( 
   int FontNo
)
public function FontGetName( 
    FontNo: Integer
): String; 
public function FontGetName( 
   FontNo : int
) : String;
public: string* FontGetName( 
   int FontNo
) 
public:
String^ FontGetName( 
   int FontNo
) 

Parameters

FontNo
Value between 1 and FontGetCount().

Return Value

A font name.
Example
Retrieving a font's name available. The following code assumes at least 21 fonts are available.
Dim oGdPictureImaging As New GdPictureImaging
'We assume that the adding of the fonts is done here
Dim Name As String
Name = oGdPictureImaging.FontGetName(21)
See Also

Reference

GdPictureImaging Class
GdPictureImaging Members
FontGetCount Method