GetLayoutPrintSize()
Summary
Gets the size of a layout printer's imageable area.
Syntax
area = GetLayoutPrintSize(string layout_name)
| Argument | Contents |
|---|---|
| layout_name | The name of the layout window |
Returns
A coordinate whose longitude indicates the horizontal extent of the imageable area, and whose latitude indicates the vertical extent of the imageable area.
Notes
-
The horizontal and vertical measurements are in hundredths of points (1/7200ths of an inch).
-
The imageable area is that part of the output medium upon which the printer can actually create an image; not necessarily centered on the output page. User-defined print margins do not affect the return value of GetLayoutPrintSize().
See Also
| Function | Summary |
|---|---|
| GetPrintMargins() | Gets the current printing margin preferences |
| SetPrintMargins() | Sets the values for the left, top, right, and bottom printing margin preferences, in user paper units |