Class EmfUniversalFontId

Class EmfUniversalFontId

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

The UniversalFontId object defines a mechanism for identifying fonts in EMF metafiles.

public sealed class EmfUniversalFontId : EmfObject
   {
       private int _fontIndex;
       private short _pitchAndFamily;
       public EmfUniversalFontId(int fontIndex, short pitchAndFamily)
       {
           _fontIndex = fontIndex;
           _pitchAndFamily = pitchAndFamily;
       }
   }

Inheritance

object MetaObject EmfObject EmfUniversalFontId

Inherited Members

object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

EmfUniversalFontId()

public EmfUniversalFontId()
   {
   }

Properties

Checksum

Gets or sets a 32-bit unsigned integer that is the checksum of the font.The checksum value has the following meanings.0x00000000 The object is a device font.0x00000001 The object is a Type 1 font that has been installed on the client machine and isenumerated by the PostScript printer driver as a device font.0x00000002 The object is not a font but is a Type 1 rasterizer.3 ≤ value The object is a bitmap, vector, or TrueType font, or a Type 1 rasterized font thatwas created by a Type 1 rasterizer.

public int Checksum
   {
      get;
      set;
   }

Property Value

int

Index

Gets or sets a 32-bit unsigned integer that is an index associated with the font object. Themeaning of this field is determined by the type of font.

public int Index
    {
        get;
        set;
    }

Property Value

int

 English