Class EmfScaleViewportExtex

Class EmfScaleViewportExtex

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

The EMR_SCALEVIEWPORTEXTEX record respecifies the viewport for a device context by using the ratios formed by the specified multiplicands and divisors.

public sealed class EmfScaleViewportExtex : EmfStateRecordType

Inheritance

objectMetaObjectEmfRecordEmfStateRecordTypeEmfScaleViewportExtex

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. 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

Constructors

EmfScaleViewportExtex(EmfRecord)

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

public EmfScaleViewportExtex(EmfRecord source)

Parameters

source EmfRecord

The source.

EmfScaleViewportExtex()

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

public EmfScaleViewportExtex()

Properties

XDenom

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

public int XDenom { get; set; }

Property Value

int

XNum

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

public int XNum { get; set; }

Property Value

int

YDenom

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

public int YDenom { get; set; }

Property Value

int

YNum

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

public int YNum { get; set; }

Property Value

int