QMedical Command Reference Area Image Control

QMed_RotateAreaImage

QMed_RotateAreaImage(areaRef; numDegrees):error
areaRef Longint QPix area reference
numDegrees Real Rotation degrees
error Longint Error result

Rotates the image in a QMedical plug-in area.

The QMedical plug-in area is specified by areaRef. If areaRef is not a valid QMedical plug-in area reference, qmed_paramErr is returned.

The number of degrees is specified in the numDegrees parameter, which must be a multiple of 90. Positive values cause clockwise rotation, while negative values rotate the image counter-clockwise.



Example

  `Rotate area image by 90 degrees counter-clockwise

C_LONGINT($error)

$error:=QMed_RotateAreaImage (gAreaRef;-90)


QMedical © Escape Information Services
Generated by QDoc 2.7 on Wed, Mar 24, 2004 17:00:37