call CwSetSelectionRectangle nX, nY, nWidth, nHeight nX (numeric) Horizontal coordinate of the top-left corner of the selection rectangle nY (numeric) Vertical coordinate of the top-left corner of the selection rectangle nWidth (numeric) Width of the selection rectangle nHeight (numeric) Height of the selection rectangle
The point nX, nY is actually the location of the center of the rectangle in the current unit. nWidth and nHeight are the width and height of the rectangle, also in the current unit. The current unit is stored in the "Unit" property of the application-defined object "Output Settings".
/* Load an object into a 2x2 rectangle at 2,1.*/ call CwSetSelectionRectangle 2, 1, 2, 2 call CwOverlayObject 'blart.orc'
Functions by NAME |
Index |
Functions by PURPOSE |