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