FontDescriptor

FontDescriptor class

Represents font information.

public sealed class FontDescriptor

Constructors

NameDescription
FontDescriptor(FontDescriptor, FontStyles)Initializes a new instance of the FontDescriptor class with the specified font and style.
FontDescriptor(string, float)Initializes a new instance of the FontDescriptor class with the specified font family and size.
FontDescriptor(string, float, FontStyles)Initializes a new instance of the FontDescriptor class with the specified font family, size and style.

Properties

NameDescription
FontFamily { get; }Gets the name of the font’s family.
Size { get; }Gets size of the font.
Style { get; }Gets style of the font.

See Also