Class EmfScaleWindowExtex

Class EmfScaleWindowExtex

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

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

public sealed class EmfScaleWindowExtex : EmfStateRecordType
{
    public int HorizontalScaling;
    public short HorizontalUnits;
    public int VerticalScaling;
    public short VerticalUnits;
}

Inheritance

object MetaObject EmfRecord EmfStateRecordType EmfScaleWindowExtex

Inherited Members

EmfRecord.Type , EmfRecord.Size , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Remarks

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

Constructors

EmfScaleWindowExtex(EmfRecord)

Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfScaleWindowExtex class.

public EmfScaleWindowExt
      (
         EmfRecord source
      )
   {
   }

Parameters

source EmfRecord

The source.

EmfScaleWindowExtex()

Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfScaleWindowExtex class.

public EmfScaleWindowExText()
   {
   }

Properties

XDenom

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

public int XDenom
   {
      get;
      set;
   }

Property Value

int

XNum

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

public int XNum
   {
      get;
      set;
   }

Property Value

int

YDenom

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

public int YDenom
   {
      get;
      set;
   }

Property Value

int

YNum

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

public int YNum
   {
      get;
      set;
   }

Property Value

int

 English