ScaleWindow

Category: Window and Display

Back to System Functions


Signature

ScaleWindow(scale As Integer)

Returns

Void

Description

Sets the physical window size scale relative to the virtual resolution created by Graphics.

For example, if Graphics uses 320 by 180, then ScaleWindow(2) requests a 640 by 360 client area. Passing -1 selects the largest integral scale that fits on the current desktop.

Example

Graphics(320, 180) ScaleWindow(3) ScaleWindow(-1)