Packages

 

com.aspose.imaging.fileformats.emf.emf.objects

Class EmfLogFont

    • Constructor Summary

      Constructors 
      Constructor and Description
      EmfLogFont() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      byte getCharSet()
      Gets or sets an 8-bit unsigned integer that specifies the set of character glyphs.
      byte getClipPrecision()
      Gets or sets an 8-bit unsigned integer that specifies the clipping precision.
      int getEscapement()
      Gets or sets a 32-bit signed integer that specifies the angle, in tenths of degrees, between the escapement vector and the x-axis of the device.
      String getFacename()
      Gets or sets a Facename (64 bytes): A string of no more than 32 Unicode characters that specifies the typeface name of the font.
      int getHeight()
      Gets or sets a 32-bit signed integer that specifies the height, in logical units, of the font's character cell or character.
      byte getItalic()
      Gets or sets an 8-bit unsigned integer that specifies an italic font if set to 0x01; otherwise, it MUST be set to 0x00.
      int getOrientation()
      Gets or sets a 32-bit signed integer that specifies the angle, in tenths of degrees, between each character's baseline and the x-axis of the device.
      byte getOutPrecision()
      Gets or sets an 8-bit unsigned integer that specifies the output precision.
      WmfPitchAndFamily getPitchAndFamily()
      Gets or sets a WMF PitchAndFamily object ([MS-WMF] section 2.2.2.14) that specifies the pitch and family of the font.
      byte getQuality()
      Gets or sets an 8-bit unsigned integer that specifies the output quality.
      byte getStrikeout()
      Gets or sets an 8-bit unsigned integer that specifies a strikeout font if set to 0x01; otherwise, it MUST be set to 0x00.
      byte getUnderline()
      Gets or sets an 8-bit unsigned integer that specifies an underlined font if set to 0x01; otherwise, it MUST be set to 0x00.
      int getWeight()
      Gets or sets a 32-bit signed integer that specifies the weight of the font in the range zero through 1000.
      int getWidth()
      Gets or sets a 32-bit signed integer that specifies the average width, in logical units, of characters in the font.
      void setCharSet(byte value)
      Gets or sets an 8-bit unsigned integer that specifies the set of character glyphs.
      void setClipPrecision(byte value)
      Gets or sets an 8-bit unsigned integer that specifies the clipping precision.
      void setEscapement(int value)
      Gets or sets a 32-bit signed integer that specifies the angle, in tenths of degrees, between the escapement vector and the x-axis of the device.
      void setFacename(String value)
      Gets or sets a Facename (64 bytes): A string of no more than 32 Unicode characters that specifies the typeface name of the font.
      void setHeight(int value)
      Gets or sets a 32-bit signed integer that specifies the height, in logical units, of the font's character cell or character.
      void setItalic(byte value)
      Gets or sets an 8-bit unsigned integer that specifies an italic font if set to 0x01; otherwise, it MUST be set to 0x00.
      void setOrientation(int value)
      Gets or sets a 32-bit signed integer that specifies the angle, in tenths of degrees, between each character's baseline and the x-axis of the device.
      void setOutPrecision(byte value)
      Gets or sets an 8-bit unsigned integer that specifies the output precision.
      void setPitchAndFamily(WmfPitchAndFamily value)
      Gets or sets a WMF PitchAndFamily object ([MS-WMF] section 2.2.2.14) that specifies the pitch and family of the font.
      void setQuality(byte value)
      Gets or sets an 8-bit unsigned integer that specifies the output quality.
      void setStrikeout(byte value)
      Gets or sets an 8-bit unsigned integer that specifies a strikeout font if set to 0x01; otherwise, it MUST be set to 0x00.
      void setUnderline(byte value)
      Gets or sets an 8-bit unsigned integer that specifies an underlined font if set to 0x01; otherwise, it MUST be set to 0x00.
      void setWeight(int value)
      Gets or sets a 32-bit signed integer that specifies the weight of the font in the range zero through 1000.
      void setWidth(int value)
      Gets or sets a 32-bit signed integer that specifies the average width, in logical units, of characters in the font.
    • Constructor Detail

      • EmfLogFont

        public EmfLogFont()
    • Method Detail

      • getHeight

        public int getHeight()

        Gets or sets a 32-bit signed integer that specifies the height, in logical units, of the font's character cell or character. The character height value, also known as the em size, is the character cell height value minus the internal leading value. The font mapper SHOULD interpret the value specified in the Height field in the following manner.

      • setHeight

        public void setHeight(int value)

        Gets or sets a 32-bit signed integer that specifies the height, in logical units, of the font's character cell or character. The character height value, also known as the em size, is the character cell height value minus the internal leading value. The font mapper SHOULD interpret the value specified in the Height field in the following manner.

      • getWidth

        public int getWidth()

        Gets or sets a 32-bit signed integer that specifies the average width, in logical units, of characters in the font. If the Width field value is zero, an appropriate value SHOULD be calculated from other LogFont values to find a font that has the typographer's intended aspect ratio

      • setWidth

        public void setWidth(int value)

        Gets or sets a 32-bit signed integer that specifies the average width, in logical units, of characters in the font. If the Width field value is zero, an appropriate value SHOULD be calculated from other LogFont values to find a font that has the typographer's intended aspect ratio

      • getEscapement

        public int getEscapement()

        Gets or sets a 32-bit signed integer that specifies the angle, in tenths of degrees, between the escapement vector and the x-axis of the device. The escapement vector is parallel to the baseline of a row of text.

      • setEscapement

        public void setEscapement(int value)

        Gets or sets a 32-bit signed integer that specifies the angle, in tenths of degrees, between the escapement vector and the x-axis of the device. The escapement vector is parallel to the baseline of a row of text.

      • getOrientation

        public int getOrientation()

        Gets or sets a 32-bit signed integer that specifies the angle, in tenths of degrees, between each character's baseline and the x-axis of the device.

      • setOrientation

        public void setOrientation(int value)

        Gets or sets a 32-bit signed integer that specifies the angle, in tenths of degrees, between each character's baseline and the x-axis of the device.

      • getWeight

        public int getWeight()

        Gets or sets a 32-bit signed integer that specifies the weight of the font in the range zero through 1000. For example, 400 is normal and 700 is bold. If this value is zero, a default weight can be used.

      • setWeight

        public void setWeight(int value)

        Gets or sets a 32-bit signed integer that specifies the weight of the font in the range zero through 1000. For example, 400 is normal and 700 is bold. If this value is zero, a default weight can be used.

      • getItalic

        public byte getItalic()

        Gets or sets an 8-bit unsigned integer that specifies an italic font if set to 0x01; otherwise, it MUST be set to 0x00.

      • setItalic

        public void setItalic(byte value)

        Gets or sets an 8-bit unsigned integer that specifies an italic font if set to 0x01; otherwise, it MUST be set to 0x00.

      • getUnderline

        public byte getUnderline()

        Gets or sets an 8-bit unsigned integer that specifies an underlined font if set to 0x01; otherwise, it MUST be set to 0x00.

      • setUnderline

        public void setUnderline(byte value)

        Gets or sets an 8-bit unsigned integer that specifies an underlined font if set to 0x01; otherwise, it MUST be set to 0x00.

      • getStrikeout

        public byte getStrikeout()

        Gets or sets an 8-bit unsigned integer that specifies a strikeout font if set to 0x01; otherwise, it MUST be set to 0x00.

      • setStrikeout

        public void setStrikeout(byte value)

        Gets or sets an 8-bit unsigned integer that specifies a strikeout font if set to 0x01; otherwise, it MUST be set to 0x00.

      • getCharSet

        public byte getCharSet()

        Gets or sets an 8-bit unsigned integer that specifies the set of character glyphs. It MUST be a value in the WMF CharacterSet enumeration ([MS-WMF] section 2.1.1.5). If the character set is unknown, metafile processing SHOULD NOT attempt to translate or interpret strings that are rendered with that font.

      • setCharSet

        public void setCharSet(byte value)

        Gets or sets an 8-bit unsigned integer that specifies the set of character glyphs. It MUST be a value in the WMF CharacterSet enumeration ([MS-WMF] section 2.1.1.5). If the character set is unknown, metafile processing SHOULD NOT attempt to translate or interpret strings that are rendered with that font.

      • getOutPrecision

        public byte getOutPrecision()

        Gets or sets an 8-bit unsigned integer that specifies the output precision. The output precision defines how closely the font is required to match the requested height, width, character orientation, escapement, pitch, and font type. It MUST be a value from the WMF OutPrecision enumeration

      • setOutPrecision

        public void setOutPrecision(byte value)

        Gets or sets an 8-bit unsigned integer that specifies the output precision. The output precision defines how closely the font is required to match the requested height, width, character orientation, escapement, pitch, and font type. It MUST be a value from the WMF OutPrecision enumeration

      • getClipPrecision

        public byte getClipPrecision()

        Gets or sets an 8-bit unsigned integer that specifies the clipping precision. The clipping precision defines how to clip characters that are partially outside the clipping region. It can be one or more of the WMF ClipPrecision Flags

      • setClipPrecision

        public void setClipPrecision(byte value)

        Gets or sets an 8-bit unsigned integer that specifies the clipping precision. The clipping precision defines how to clip characters that are partially outside the clipping region. It can be one or more of the WMF ClipPrecision Flags

      • getQuality

        public byte getQuality()

        Gets or sets an 8-bit unsigned integer that specifies the output quality. The output quality defines how closely to attempt to match the logical-font attributes to those of an actual physical font. It MUST be one of the values in the WMF FontQuality enumeration ([MS-WMF] section 2.1.1.10).

      • setQuality

        public void setQuality(byte value)

        Gets or sets an 8-bit unsigned integer that specifies the output quality. The output quality defines how closely to attempt to match the logical-font attributes to those of an actual physical font. It MUST be one of the values in the WMF FontQuality enumeration ([MS-WMF] section 2.1.1.10).

      • getPitchAndFamily

        public WmfPitchAndFamily getPitchAndFamily()

        Gets or sets a WMF PitchAndFamily object ([MS-WMF] section 2.2.2.14) that specifies the pitch and family of the font. Font families describe the look of a font in a general way. They are intended for specifying a font when the specified typeface is not available.

      • setPitchAndFamily

        public void setPitchAndFamily(WmfPitchAndFamily value)

        Gets or sets a WMF PitchAndFamily object ([MS-WMF] section 2.2.2.14) that specifies the pitch and family of the font. Font families describe the look of a font in a general way. They are intended for specifying a font when the specified typeface is not available.

      • getFacename

        public String getFacename()

        Gets or sets a Facename (64 bytes): A string of no more than 32 Unicode characters that specifies the typeface name of the font. If the length of this string is less than 32 characters, a terminating NULL MUST be present, after which the remainder of this field MUST be ignored.

      • setFacename

        public void setFacename(String value)

        Gets or sets a Facename (64 bytes): A string of no more than 32 Unicode characters that specifies the typeface name of the font. If the length of this string is less than 32 characters, a terminating NULL MUST be present, after which the remainder of this field MUST be ignored.