Packages

 

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

Classes

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

Class EmfScaleWindowExtex

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


    public final class EmfScaleWindowExtex
    extends EmfStateRecordType

    The EMR_SCALEWINDOWEXTEX record respecifies the window for a playback device context by using the ratios formed by the specified multiplicands and divisors.

    The extent cannot be changed if the device context is using a fixed scale mapping mode. Only MM_ISOTROPIC and MM_ANISOTROPIC are not fixed scale. The window extents are modified as follows. xNewWE = (xOldWE * xNum) / xDenom yNewWE = (yOldWE * yNum) / yDenom

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getXDenom()
      Gets or sets a 32-bit signed integer that specifies the horizontal divisor.
      int getXNum()
      Gets or sets a 32-bit signed integer that specifies the horizontal multiplicand.
      int getYDenom()
      Gets or sets a 32-bit signed integer that specifies the vertical divisor.
      int getYNum()
      Gets or sets a 32-bit signed integer that specifies the vertical multiplicand.
      void setXDenom(int value)
      Gets or sets a 32-bit signed integer that specifies the horizontal divisor.
      void setXNum(int value)
      Gets or sets a 32-bit signed integer that specifies the horizontal multiplicand.
      void setYDenom(int value)
      Gets or sets a 32-bit signed integer that specifies the vertical divisor.
      void setYNum(int value)
      Gets or sets a 32-bit signed integer that specifies the vertical multiplicand.
    • Constructor Detail

      • EmfScaleWindowExtex

        public EmfScaleWindowExtex(EmfRecord source)

        Initializes a new instance of the EmfScaleWindowExtex class.

        Parameters:
        source - The source.
      • EmfScaleWindowExtex

        public EmfScaleWindowExtex()

        Initializes a new instance of the EmfScaleWindowExtex class.

    • Method Detail

      • getXNum

        public int getXNum()

        Gets or sets a 32-bit signed integer that specifies the horizontal multiplicand. MUST NOT be zero.

      • setXNum

        public void setXNum(int value)

        Gets or sets a 32-bit signed integer that specifies the horizontal multiplicand. MUST NOT be zero.

      • getXDenom

        public int getXDenom()

        Gets or sets a 32-bit signed integer that specifies the horizontal divisor. MUST NOT be zero.

      • setXDenom

        public void setXDenom(int value)

        Gets or sets a 32-bit signed integer that specifies the horizontal divisor. MUST NOT be zero.

      • getYNum

        public int getYNum()

        Gets or sets a 32-bit signed integer that specifies the vertical multiplicand. MUST NOT be zero.

      • setYNum

        public void setYNum(int value)

        Gets or sets a 32-bit signed integer that specifies the vertical multiplicand. MUST NOT be zero.

      • getYDenom

        public int getYDenom()

        Gets or sets a 32-bit signed integer that specifies the vertical divisor. MUST NOT be zero.

      • setYDenom

        public void setYDenom(int value)

        Gets or sets a 32-bit signed integer that specifies the vertical divisor. MUST NOT be zero.