Struct WmfPitchAndFamily

Struct WmfPitchAndFamily

Namespace: Aspose.Imaging.FileFormats.Wmf.Objects
Assembly: Aspose.Imaging.dll (25.7.0)

The PitchAndFamily object specifies the pitch and family properties of aFont object (section 2.2.1.2). Pitch refers to the width of thecharacters, and family refers to the general appearance of a font.

public struct WmfPitchAndFamily
   {
      public short Pitch;
      public short Family;
   }

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.WmfPitchAndFamilystruct.

public WmfPitchAndFamily(byte byteData)
   {
   }

Parameters

byteData byte

The byte data.

WmfPitchAndFamily(WmfPitchFont, WmfFamilyFont)

Initializes a new instance of the Aspose.Imaging.FileFormats.Wmf.Objects.WmfPitchAndFamilystruct.

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

byte

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

WmfFamilyFont

Pitch

Gets A property of a font that describes the pitch, of thecharacters. This MUST be a value in the PitchFont enumeration.

public WmfPitchFont Pitch
   {
      get;
   }

Property Value

WmfPitchFont

Methods

ToByte()

To the byte.

public byte ToByte()
{
}
In this case, there was no need for any reformatting since the provided code is already in line with standard C# conventions. However, for future reference, here are some general guidelines that I would have followed if necessary:

Returns

byte

The byte value.

 English