QMedical Command Reference
Area Control
|
|
| QMed_SetAreaSelection(areaRef; selLeft; selTop; selRight; selBottom):error | |||
|
|
areaRef | Longint | QMedical area reference |
|
|
selLeft | Longint | Selection rect left |
|
|
selTop | Longint | Selection rect top |
|
|
selRight | Longint | Selection rect right |
|
|
selBottom | Longint | Selection rect bottom |
|
|
error | Longint | Error result |
Changes the selection rectangle in a scrollable QMedical plug-in area. Has the same effect as the marquee tool.
The QMedical plug-in area is specified by areaRef. If areaRef is not a valid QMedical plug-in area reference, qmed_paramErr is returned.
Parameters selLeft, selTop, selRight and selBottom specify the new selection rectangle. The specified selection rectangle is automatically constrained to image rectangle (no error is returned).
Related commands
| QMed_GetAreaSelection | Returns the selection rectangle of a scrollable QMedical plug-in area |