Purpose |
Change the overall size of a graphic window. |
Syntax |
GRAPHIC SET SIZE nWide&, nHigh& |
Remarks |
Overall size is larger than client size. The client area is the part inside the borders, while overall size includes the borders. The original bitmap is copied, pixel for pixel, to the newly resized control. Any expanded area is filled with the current background color. Your program draws to it in the normal fashion for a bitmap of the new size. If a clip area had been established to create margins, it is reset. If scaled coordinates had been established, they are also reset, as neither would be appropriate for the altered size. You can enable these attributes again with GRAPHIC SCALE or GRAPHIC SET CLIP, based upon the new size of the drawing area. |
nWide&, nHigh& |
Integral numeric expressions which specify the desired size of the overall area. Width and height are specified in pixels. |
See also |