WmfPitchAndFamily Class

Summary: 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.

Module: aspose.imaging.fileformats.wmf.objects

Full Name: aspose.imaging.fileformats.wmf.objects.WmfPitchAndFamily

Constructors

NameDescription
WmfPitchAndFamily()Initializes a new instance of the WmfPitchAndFamily class
WmfPitchAndFamily(byte_data)Initializes a new instance of the WmfPitchAndFamily
struct.
WmfPitchAndFamily(pitch, family)Initializes a new instance of the WmfPitchAndFamily
struct.

Properties

NameTypeAccessDescription
byte_databyter/wSets the byte data.
familyWmfFamilyFontrGets A property of a font that describes its general appearance.
This MUST be a value in the FamilyFont enumeration
pitchWmfPitchFontrGets A property of a font that describes the pitch, of the
characters. This MUST be a value in the PitchFont enumeration.

Methods

NameDescription
to_byte()To the byte.

Constructor: WmfPitchAndFamily()

 WmfPitchAndFamily() 

Initializes a new instance of the WmfPitchAndFamily class

Constructor: WmfPitchAndFamily(byte_data)

 WmfPitchAndFamily(byte_data) 

Initializes a new instance of the WmfPitchAndFamily
struct.

Parameters:

ParameterTypeDescription
byte_databyteThe byte data.

Constructor: WmfPitchAndFamily(pitch, family)

 WmfPitchAndFamily(pitch, family) 

Initializes a new instance of the WmfPitchAndFamily
struct.

Parameters:

ParameterTypeDescription
pitchWmfPitchFontThe pitch.
familyWmfFamilyFontThe family.

Method: to_byte()

 to_byte() 

To the byte.

Returns

TypeDescription
byteThe byte value.