Packages

 

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

Classes

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

Class EmfScaleViewportExtex

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


    public final class EmfScaleViewportExtex
    extends EmfStateRecordType

    The EMR_SCALEVIEWPORTEXTEX record respecifies the viewport for a 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 viewport 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

      • EmfScaleViewportExtex

        public EmfScaleViewportExtex(EmfRecord source)

        Initializes a new instance of the EmfScaleViewportExtex class.

        Parameters:
        source - The source.
      • EmfScaleViewportExtex

        public EmfScaleViewportExtex()

        Initializes a new instance of the EmfScaleViewportExtex class.

    • Method Detail

      • getXNum

        public int getXNum()

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

      • setXNum

        public void setXNum(int value)

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

      • getXDenom

        public int getXDenom()

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

      • setXDenom

        public void setXDenom(int value)

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

      • getYNum

        public int getYNum()

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

      • setYNum

        public void setYNum(int value)

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

      • getYDenom

        public int getYDenom()

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

      • setYDenom

        public void setYDenom(int value)

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