Chapter Contents

Previous

Next
Widget Class: _getRegion

Widget Class: _getRegion



Returns an SCL list containing region attributes


Syntax
Details

Syntax

objectName._getRegion( regionList );
objectName._getRegion( regionList, units );

Argument Type Use Description
regionList Numeric Update specifies the identifier of a list that when returned is filled region attribute settings
units Character Input specifies the units of the region's size


Details

The list filled by _getRegion contains the same information as the _region list returned by _getProperties. The format of the list is explained in the _new method in the Class class.

Example

Get the region attributes for obj1 and specify the region size in inches:

list = makelist();
obj1._getRegion(list,'inches');
ulx = getnitemn (list, 'ulx');
uly = getnitemn (list, 'uly');
lrx = getnitemn (list, 'lrx');
lry = getnitemn (list, 'lry');
put 'region coordinates in inches is' ulx= uly=lrx= lry=;


Chapter Contents

Previous

Next

Top of Page

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