Chapter Contents |
Previous |
Next |
Image Data Model: _scale |
Syntax | |
Details | |
Examples |
Syntax |
CALL SEND (object-id, '_scale', width, height<, algorithm>); |
Argument | Type | Description |
---|---|---|
width |
N | the new width of the image (in pixels) |
height |
N | the new height of the image (in pixels) |
algorithm |
C | the scaling algorithm to be used
|
Details |
The size of the new image is specified in pixels; however, if one of the two values is -1, then the value used for that scale factor is computed to conserve the original image's aspect ratio.
Examples |
This example scales the image's width to 200 pixels. The height is scaled as needed to preserve the aspect ratio.
call send(imgdat_id,'_scale',200, -1);
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.