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

ConstructorDescription
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

MethodDescription
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:

ParameterTypeDescription
byteDatabyteThe `` data.

WmfPitchAndFamily(byte pitch, byte family)

public WmfPitchAndFamily(byte pitch, byte family)

Initializes a new instance of the WmfPitchAndFamily struct.

Parameters:

ParameterTypeDescription
pitchbyteThe pitch.
familybyteThe 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:

ParameterTypeDescription
valuebyte

toByte()

public byte toByte()

To the byte.

Returns: byte - The byte value.

CloneTo(WmfPitchAndFamily that)

public void CloneTo(WmfPitchAndFamily that)

Parameters:

ParameterTypeDescription
thatWmfPitchAndFamily

Clone()

public WmfPitchAndFamily Clone()

Returns: WmfPitchAndFamily

hashCode()

public int hashCode()

Returns: int

equals(Object obj)

public boolean equals(Object obj)

Parameters:

ParameterTypeDescription
objjava.lang.Object

Returns: boolean

isEquals(WmfPitchAndFamily obj1, WmfPitchAndFamily obj2)

public static boolean isEquals(WmfPitchAndFamily obj1, WmfPitchAndFamily obj2)

Parameters:

ParameterTypeDescription
obj1WmfPitchAndFamily
obj2WmfPitchAndFamily

Returns: boolean