Chapter Contents

Previous

Next
Image Data Model: _tile

Image Data Model: _tile



Replicates the current image into a new image


Syntax
Details

Syntax

CALL SEND (object-id, '_tile', new-width, new-height);

Argument Type Description
new-width
N the width (in pixels) for the tiled images to fill.
new-height
N the height (in pixels) for the tiled images to fill.


Details

The size, in pixels, of the area for new tiled image is specified by the two parameters new-width and new-height. The area defined by new-width×new-height is filled beginning in the upper left corner. The current image is placed there. Copies of the current image are added to the right until the row is filled. This process then starts over on the next row until the area defined by new-width×new-height is filled. For example, if the current image is 40×40, and new-width×new-height were specified as 200×140, then the current image would be replicated 5 times in width, and 3.5 times in height. This method is useful for creating tiled backdrops.

Note:   Before tiling an image, you must turn off the scale option for the image.  [cautionend]


Chapter Contents

Previous

Next

Top of Page

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