Class EmfLogFontPanose

Class EmfLogFontPanose

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

The LogFontPanose object specifies the PANOSE characteristics of a logical font.

public sealed class EmfLogFontPanose : EmfLogFont
{
    public short lfWeight;
    public short lfWidth;
    public short lfEscapement;
    public short lfOrientation;
    public byte lfCharSet;
    public byte lfOutPrecision;
    public byte lfClipPrecision;
    public byte lfQuality;
    public byte lfPitchAndFamily;
    public byte[] lfPanose;
}

Inheritance

object MetaObject EmfObject EmfLogFont EmfLogFontPanose

Inherited Members

EmfLogFont.Height , EmfLogFont.Width , EmfLogFont.Escapement , EmfLogFont.Orientation , EmfLogFont.Weight , EmfLogFont.Italic , EmfLogFont.Underline , EmfLogFont.Strikeout , EmfLogFont.CharSet , EmfLogFont.OutPrecision , EmfLogFont.ClipPrecision , EmfLogFont.Quality , EmfLogFont.PitchAndFamily , EmfLogFont.Facename , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

EmfLogFontPanose(EmfLogFont)

Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Objects.EmfLogFontPanose class.

public EmfLogFontPanose(EmfLogFont emfLogFont)
   {
      _emfLogFont = emfLogFont;
      _panose.Len = 10;
      for (int i = 0; i < 10; ++i)
         _panose[i] = (short) emfLogFont.Panose[i];
   }

Parameters

emfLogFont EmfLogFont

The base log font.

Properties

Culture

Gets or sets a 32-bit unsigned integer that MUST be set to zero and MUST be ignored.

public int Culture
   {
      get;
      set;
   }

Property Value

int

FullName

Gets or sets a string of 64 Unicode characters that defines the font’s full name. Ifthe length of this string is less than 64 characters, a terminating NULL MUST be present, afterwhich the remainder of this field MUST be ignored.

public string FullName
{
    get;
    set;
}

Property Value

string

Match

Gets or sets This field MUST be ignored.

public int Match
   {
      get;
      set;
   }

Property Value

int

Padding

Gets or sets a field that exists only to ensure 32-bit alignment of this structure. It MUST be ignored

public short Padding
   {
      get;
      set;
   }

Property Value

short

Panose

Gets or sets a Panose object (section 2.2.21) that specifies the PANOSE characteristicsof the logical font. If all fields of this object are zero, it MUST be ignored.

public EmfPanose Panose
   {
      get;
      set;
   }

Property Value

EmfPanose

Style

Gets or sets a string of 32 Unicode characters that defines the font’s style. If the length ofthis string is less than 32 characters, a terminating NULL MUST be present, after which theremainder of this field MUST be ignored.

public string Style
    {
        get;
        set;
    }

Property Value

string

StyleSize

Gets or sets a 32-bit unsigned integer that specifies the point size at which fonthinting is performed. If set to zero, font hinting is performed at the point size correspondingto the Height field in the LogFont object in the LogFont field

public int StyleSize
    {
        get;
        set;
    }

Property Value

int

VendorId

Gets or sets This field MUST be ignored.

public int VendorId
   {
      get;
      set;
   }

Property Value

int

Version

Gets or sets This field MUST be ignored.

public int Version
    {
        get;
        set;
    }

Property Value

int

 English