ImageEn, unit ievision
TIEVisionImage.flip
TIEVisionImage
.flip
Declaration
function flip(dst:
TIEVisionImage
; flipMode:
TIEVisionFlipMode
):
TIEVisionImage
; overload; safecall;
function flip(flipMode:
TIEVisionFlipMode
):
TIEVisionImage
; overload; safecall;
Description
Flip the current image.
First overload stores the resulting image into specified destination. Returns the destination object.
Second overload updates the current image. Returns itself.
Parameter
Description
dst
Container for the destination image
flipMode
Specifies the axis (X, Y or XY)
Example
// Vertical Flip (i.e. flip across X axis)
image1.flip( ievX_AXIS );
// Horizontal Flip (Flip across Y axis)
ImageEnView1.IEBitmap.GetIEVisionImage().Flip( ievY_AXIS );
ImageEnView1.Update();
Loading contents...