public class WmfPitchAndFamily extends com.aspose.ms.lang.Struct<WmfPitchAndFamily>
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.
Constructor and Description |
---|
WmfPitchAndFamily() |
WmfPitchAndFamily(byte byteData)
Initializes a new instance of the
WmfPitchAndFamily
struct. |
WmfPitchAndFamily(byte pitch,
byte family)
Initializes a new instance of the
WmfPitchAndFamily
struct. |
Modifier and Type | Method and Description |
---|---|
WmfPitchAndFamily |
Clone() |
void |
CloneTo(WmfPitchAndFamily that) |
boolean |
equals(Object obj) |
byte |
getByteData()
Sets the data.
|
byte |
getFamily()
Gets A property of a font that describes its general appearance.
|
byte |
getPitch()
Gets A property of a font that describes the pitch, of the
characters.
|
int |
hashCode() |
static boolean |
isEquals(WmfPitchAndFamily obj1,
WmfPitchAndFamily obj2) |
void |
setByteData(byte value)
Sets the data.
|
byte |
toByte()
To the byte.
|
public WmfPitchAndFamily()
public WmfPitchAndFamily(byte byteData)
Initializes a new instance of the WmfPitchAndFamily
struct.
byteData
- The data.public WmfPitchAndFamily(byte pitch, byte family)
Initializes a new instance of the WmfPitchAndFamily
struct.
pitch
- The pitch.family
- The family.public byte getFamily()
Gets A property of a font that describes its general appearance. This MUST be a value in the FamilyFont enumeration
Value: The family.public byte getPitch()
Gets A property of a font that describes the pitch, of the characters. This MUST be a value in the PitchFont enumeration.
Value: The pitch.public byte getByteData()
Sets the data.
Value: The data.public void setByteData(byte value)
Sets the data.
Value: The data.public byte toByte()
To the byte.
public void CloneTo(WmfPitchAndFamily that)
CloneTo
in class com.aspose.ms.System.ValueType<WmfPitchAndFamily>
public WmfPitchAndFamily Clone()
Clone
in class com.aspose.ms.System.ValueType<WmfPitchAndFamily>
public static boolean isEquals(WmfPitchAndFamily obj1, WmfPitchAndFamily obj2)