Class EmfScaleWindowExtex

EmfScaleWindowExtex class

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

public sealed class EmfScaleWindowExtex : EmfStateRecordType

Constructors

NameDescription
EmfScaleWindowExtex()Initializes a new instance of the EmfScaleWindowExtex class.
EmfScaleWindowExtex(EmfRecord)Initializes a new instance of the EmfScaleWindowExtex class.

Properties

NameDescription
Size { get; set; }Gets or sets the size of the record
Type { get; set; }Gets or sets the type.
XDenom { get; set; }Gets or sets a 32-bit signed integer that specifies the horizontal divisor. MUST NOT be zero.
XNum { get; set; }Gets or sets a 32-bit signed integer that specifies the horizontal multiplicand. MUST NOT be zero.
YDenom { get; set; }Gets or sets a 32-bit signed integer that specifies the vertical divisor. MUST NOT be zero.
YNum { get; set; }Gets or sets a 32-bit signed integer that specifies the vertical multiplicand. MUST NOT be zero.

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 window extents are modified as follows. xNewWE = (xOldWE * xNum) / xDenom yNewWE = (yOldWE * yNum) / yDenom

See Also