Chapter Contents

Previous

Next
Image: _getInfo

Image: _getInfo



Returns the identifier for an SCL list containing descriptive information about the last point selected on the image


Syntax
_getInfo List Items
Example

Syntax

CALL NOTIFY (image-name, '_getInfo'list-id);

Argument Type Description
list-id
N the identifier of an SCL list containing the descriptive information about the last point selected on the image.

_getInfo List Items
List Item Type Description
X N x coordinate of the selection, in pixels
Y N y coordinate of the selection, in pixels
ORIGIN_X N object's x origin
ORIGIN_Y N object's y origin
DSWIDTH N object's width
DSHEIGHT N object's height
REG_ULX N region's upper left x coordinate
REG_ULY N region's upper left y coordinate
REG_LRX N region's lower right x coordinate
REG_LRY N region's lower right y coordinate


Example

This example gets the coordinates of the last selection for this object:

list=makelist();
call notify ('imageview', '_getInfo', 
              list);
call putlist (list, 'Point of last 
              selection: ');

When this code executes, the following lines are written to the LOG window:

Point of last selection: (X=67 Y=62 ORIGIN_X=0
                          ORIGIN_Y=0 DSWIDTH=140 DSHEIGHT=140
                          REG_ULX=145 REG_ULY=152
                          REG_LRX=285 REG_LRY=292) [2581]


Chapter Contents

Previous

Next

Top of Page

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