QMed_SetAreaSelection

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

QMedical © Escape
Generated by QDoc 2.8 on Wed, Jan 27, 2010 17:54:58