Constructor MetafileFont
MetafileFont(string, int, int, bool)
Initializes a font description.
public MetafileFont(string faceName, int emHeightDeviceUnits, int weight, bool italic)
Parameters
faceNamestringThe typeface name, possibly empty.
emHeightDeviceUnitsintThe em height in device units, always positive. A
LOGFONTrecords a negative height to mean character height and a positive one to mean cell height; the reader normalizes both to an em height so consumers never have to know which was written.weightintThe weight, 0..1000, where 400 is regular and 700 is bold.
italicboolWhether the font is italic.
Exceptions
- ArgumentNullException
faceNameis null.