Struct WmfPitchAndFamily
- Namespace
- Aspose.Imaging.FileFormats.Wmf.Objects
- Assembly
- Aspose.Imaging.dll
The PitchAndFamily object specifies the pitch and family properties of a Font object (section 2.2.1.2). Pitch refers to the width of the characters, and family refers to the general appearance of a font.
public struct WmfPitchAndFamily
- Inherited Members
Constructors
WmfPitchAndFamily(WmfPitchFont, WmfFamilyFont)
Initializes a new instance of the WmfPitchAndFamily struct.
public WmfPitchAndFamily(WmfPitchFont pitch, WmfFamilyFont family)
Parameters
pitchWmfPitchFontThe pitch.
familyWmfFamilyFontThe family.
WmfPitchAndFamily(byte)
Initializes a new instance of the WmfPitchAndFamily struct.
public WmfPitchAndFamily(byte byteData)
Parameters
Properties
ByteData
Sets the byte data.
public byte ByteData { get; set; }
Property Value
Family
Gets A property of a font that describes its general appearance. This MUST be a value in the FamilyFont enumeration
public WmfFamilyFont Family { get; }
Property Value
- WmfFamilyFont
The family.
Pitch
Gets A property of a font that describes the pitch, of the characters. This MUST be a value in the PitchFont enumeration.
public WmfPitchFont Pitch { get; }
Property Value
- WmfPitchFont
The pitch.
Methods
ToByte()
To the byte.
public byte ToByte()
Returns
- byte
The byte value.