QMedical Command Reference Area Image Control

QMed_FlipAreaImage

QMed_FlipAreaImage(areaRef; flipMode):error
areaRef Longint QPix area reference
flipMode Longint How the image should be flipped
error Longint Error result

Flips the image in a QMedical plug-in area horizontally, vertically or both.

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 flipMode parameter is a number that denotes how the image should be flipped. flipMode accepts the following constants and values:

qmed_FlipHorizontal 1 Horizontal flipping
qmed_FlipVertical 2 Vertical flipping
qmed_FlipBoth 3 Horizontal and vertical flipping



Example

  `Frip area image horizontally

C_LONGINT($error)

$error:=QMed_FlipAreaImage (gAreaRef;qmed_FlipHorizontal)


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