Method spage
| Improve this Doc View Sourcespage(Double, Double, Int32, Int32, Int32, Int32)
plspage: Set page parameters
Declaration
public void spage(Double xp, Double yp, Int32 xleng, Int32 yleng, Int32 xoff, Int32 yoff)
Parameters
Type | Name | Description |
---|---|---|
Double | xp | Number of pixels per inch (DPI), x. Used only by raster drivers, ignored by drivers which use "real world" units (e.g. mm). |
Double | yp | Number of pixels per inch (DPI), y. Used only by raster drivers, ignored by drivers which use "real world" units (e.g. mm). |
Int32 | xleng | Page length, x. |
Int32 | yleng | Page length, y. |
Int32 | xoff | Page offset, x. |
Int32 | yoff | Page offset, y. |
Remarks
Sets the page configuration (optional). If an individual parameter is zero then that parameter value is not updated. Not all parameters are recognized by all drivers and the interpretation is device-dependent. The X-window driver uses the length and offset parameters to determine the window size and location. The length and offset values are expressed in units that are specific to the current driver. For instance: screen drivers will usually interpret them as number of pixels, whereas printer drivers will usually use mm.