Class GdiFontInfo
Represents information about a particular Gdi font.
public class GdiFontInfo : FontInfo
- Inheritance
-
GdiFontInfo
Constructors
- GdiFontInfo(Font, IntPtr)
Initializes a new instance of the
GdiFontInfo
class with specified parameters.
- GdiFontInfo(IntPtr, IntPtr, string)
Initializes a new instance of the
GdiFontInfo
class with specified parameters.
Properties
- UseDrawText
Indicates whether string width should be calculated using DrawText method rather then
CharWidth
.
Methods
- CharWidth(char)
Calculates width of specified character using current
Font
.
- StringWidth(string, bool)
Calculates width of specified string using current
Font
.