[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.ScaleViewport

ScaleViewport Method

ScaleViewport(int, int, int, int)

Modifies the viewport for a device context using the ratios formed by the specified multiplicands and divisors.

Declaration
public void ScaleViewport(int numX, int denomX, int numY, int denomY)
Parameters
Type Name Description
int numX

A int specifies the amount by which to multiply the current horizontal extent.

int denomX

A int specifies the amount by which to divide the current horizontal extent.

int numY

A int specifies the amount by which to multiply the current vertical extent.

int denomY

A int specifies the amount by which to divide the current vertical extent.