SETWMARGIN

Purpose:

Sets the plotting margin for a given Window of a Worksheet.

Syntax:

SETWMARGIN(win, margin, size)

win

-

Optional. A Window, defaults to the current Window.

margin

-

Optional. An integer, the margin to set:

1:

Left

2:

Right

3:

Top

4:

Bottom

size

-

A real, the margin width or height. size is specified in terms of percent of the plotting margin of a Window and ranges from 0.0 (no margin) to 100.0 (full margin or no plotting area). If size is negative, the margin is sized automatically.

Example:

setwmargin(W3, 2, 10.0)

 

sets the right side plotting margin of each Window to 10% of the plotting area.

Remarks:

See SETWSX and SETWSY to adjust the location and margins of the entire Worksheet.

See Also:

SETALLWMARGIN

SETASPECT

SETWSX

SETWSY