Struct WmfPitchAndFamily
Namespace: Aspose.Imaging.FileFormats.Wmf.Objects
Assembly: Aspose.Imaging.dll (25.2.0)
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
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
WmfPitchAndFamily(byte)
Initializes a new instance of the Aspose.Imaging.FileFormats.Wmf.Objects.WmfPitchAndFamily struct.
public WmfPitchAndFamily(byte byteData)
Parameters
byteData
byte
The byte data.
WmfPitchAndFamily(WmfPitchFont, WmfFamilyFont)
Initializes a new instance of the Aspose.Imaging.FileFormats.Wmf.Objects.WmfPitchAndFamily struct.
public WmfPitchAndFamily(WmfPitchFont pitch, WmfFamilyFont family)
Parameters
pitch
WmfPitchFont
The pitch.
family
WmfFamilyFont
The family.
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
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
Methods
ToByte()
To the byte.
public byte ToByte()
Returns
The byte value.