Chapter Contents

Previous

Next
XPIXELS

XPIXELS



Specifies the width of the addressable display area in pixels and in conjunction with XMAX determines the horizontal resolution for the device.

Used in: GOPTIONS statement; GDEVICE procedure; GDEVICE Detail window
Default: device dependent
See also: XMAX
Restriction: Ignored by default display drivers and host printing drivers.


Syntax
Details

Syntax

XPIXELS=width-in-pixels

width-in-pixels
is a positive integer up to eight digits long (0...99999999).


Details

Like the XMAX device parameter, XPIXELS controls the width of the display area, but the width is in pixels rather than inches, centimeters, or points. Typically, you might use XPIXELS to change the width of the display area for an image format device.

The value of XPIXELS is used in calculating the resolution of the device:

x-resolution = XPIXELS / XMAX

However, changing XPIXELS does not necessarily change the device resolution:

Note:   When SAS/GRAPH recalculates the resolution, the resolution does not necessarily change. For example, both of these pairs of values produce the same resolution, 300dpi:  [cautionend]


Syntax

XPIXELS=1500 and XMAX=5
XPIXELS=1800 and XMAX=6

To reset the value of XPIXELS to the default, specify XPIXELS=0. To return to the default resolution for the device, specify both XPIXELS=0 and XMAX=0.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.