Packages

 

com.aspose.imaging.fileformats.emf.emf.records

Classes

com.aspose.imaging.fileformats.emf.emf.records

Class EmfSmallTextOut

  • All Implemented Interfaces:
    com.aspose.internal.fileformats.emf.IRecord, Cloneable


    public final class EmfSmallTextOut
    extends EmfDrawingRecordType

    The EMR_SMALLTEXTOUT record outputs a string.

    If ETO_SMALL_CHARS is set in the fuOptions field, TextString contains 8-bit codes for characters, derived from the low bytes of 16-bit Unicode UTF16-LE character codes, in which the high byte is assumed to be 0. If ETO_NO_RECT is set in the fuOptions field, the Bounds field is not included in the record.

    • Constructor Summary

      Constructors 
      Constructor and Description
      EmfSmallTextOut(EmfRecord source)
      Initializes a new instance of the EmfSmallTextOut class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Rectangle getBounds()
      Gets or sets an optional, 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the bounding rectangle in device units.
      int getCChars()
      Gets or sets a 32-bit unsigned integer specifying the number of 16-bit characters in the string.
      float getExScale()
      Gets or sets a 32-bit floating-point value that specifies how much to scale the text in the x-direction.
      float getEyScale()
      Gets or sets a 32-bit floating-point value that specifies how much to scale the text in the y-direction.
      int getFuOptions()
      Gets or sets a 32-bit unsigned integer specifying the text output options to use.
      int getIGraphicsMode()
      Gets or sets a 32-bit unsigned integer specifying the graphics mode, from the GraphicsMode enumeration (section 2.1.16).
      String getTextString()
      Gets or sets a variable-length string that contains the text string to draw, in either 8-bit or 16-bit character codes, according to the value of the fuOptions field.
      int getX()
      Gets or sets a 32-bit signed integer specifying the x-coordinate of where to place the string.
      int getY()
      Gets or sets a 32-bit signed integer specifying the y-coordinate of where to place the string.
      void setBounds(Rectangle value)
      Gets or sets an optional, 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the bounding rectangle in device units.
      void setCChars(int value)
      Gets or sets a 32-bit unsigned integer specifying the number of 16-bit characters in the string.
      void setExScale(float value)
      Gets or sets a 32-bit floating-point value that specifies how much to scale the text in the x-direction.
      void setEyScale(float value)
      Gets or sets a 32-bit floating-point value that specifies how much to scale the text in the y-direction.
      void setFuOptions(int value)
      Gets or sets a 32-bit unsigned integer specifying the text output options to use.
      void setIGraphicsMode(int value)
      Gets or sets a 32-bit unsigned integer specifying the graphics mode, from the GraphicsMode enumeration (section 2.1.16).
      void setTextString(String value)
      Gets or sets a variable-length string that contains the text string to draw, in either 8-bit or 16-bit character codes, according to the value of the fuOptions field.
      void setX(int value)
      Gets or sets a 32-bit signed integer specifying the x-coordinate of where to place the string.
      void setY(int value)
      Gets or sets a 32-bit signed integer specifying the y-coordinate of where to place the string.
    • Constructor Detail

      • EmfSmallTextOut

        public EmfSmallTextOut(EmfRecord source)

        Initializes a new instance of the EmfSmallTextOut class.

        Parameters:
        source - The source.
    • Method Detail

      • getX

        public int getX()

        Gets or sets a 32-bit signed integer specifying the x-coordinate of where to place the string.

      • setX

        public void setX(int value)

        Gets or sets a 32-bit signed integer specifying the x-coordinate of where to place the string.

      • getY

        public int getY()

        Gets or sets a 32-bit signed integer specifying the y-coordinate of where to place the string.

      • setY

        public void setY(int value)

        Gets or sets a 32-bit signed integer specifying the y-coordinate of where to place the string.

      • getCChars

        public int getCChars()

        Gets or sets a 32-bit unsigned integer specifying the number of 16-bit characters in the string. The string is NOT null-terminated.

      • setCChars

        public void setCChars(int value)

        Gets or sets a 32-bit unsigned integer specifying the number of 16-bit characters in the string. The string is NOT null-terminated.

      • getFuOptions

        public int getFuOptions()

        Gets or sets a 32-bit unsigned integer specifying the text output options to use. These options are specified by one or a combination of values from the ExtTextOutOptions enumeration (section 2.1.11).

      • setFuOptions

        public void setFuOptions(int value)

        Gets or sets a 32-bit unsigned integer specifying the text output options to use. These options are specified by one or a combination of values from the ExtTextOutOptions enumeration (section 2.1.11).

      • getIGraphicsMode

        public int getIGraphicsMode()

        Gets or sets a 32-bit unsigned integer specifying the graphics mode, from the GraphicsMode enumeration (section 2.1.16).

      • setIGraphicsMode

        public void setIGraphicsMode(int value)

        Gets or sets a 32-bit unsigned integer specifying the graphics mode, from the GraphicsMode enumeration (section 2.1.16).

      • getExScale

        public float getExScale()

        Gets or sets a 32-bit floating-point value that specifies how much to scale the text in the x-direction.

      • setExScale

        public void setExScale(float value)

        Gets or sets a 32-bit floating-point value that specifies how much to scale the text in the x-direction.

      • getEyScale

        public float getEyScale()

        Gets or sets a 32-bit floating-point value that specifies how much to scale the text in the y-direction.

      • setEyScale

        public void setEyScale(float value)

        Gets or sets a 32-bit floating-point value that specifies how much to scale the text in the y-direction.

      • getBounds

        public Rectangle getBounds()

        Gets or sets an optional, 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the bounding rectangle in device units.

      • setBounds

        public void setBounds(Rectangle value)

        Gets or sets an optional, 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the bounding rectangle in device units.

      • getTextString

        public String getTextString()

        Gets or sets a variable-length string that contains the text string to draw, in either 8-bit or 16-bit character codes, according to the value of the fuOptions field.

      • setTextString

        public void setTextString(String value)

        Gets or sets a variable-length string that contains the text string to draw, in either 8-bit or 16-bit character codes, according to the value of the fuOptions field.