ImageEn, unit iexAcquire

TIEAcquireParams.Orientation

TIEAcquireParams.Orientation

Declaration

property Orientation: TIEAcquireOrientation; (Read/Write)

Description

Defines the orientation of the output image. Not all scanners support this capability.

Note: Not supported for DCIM retrieval (i.e. when SelectedAcquireSource.Api = ieaDCIM)

Value is one of:
Value Description
ieaoPortrait No rotation (Portrait)
ieaoLandscape Rotate 270° clockwise (Landscape)
ieaoRotate90 Rotate 90° clockwise
ieaoRotate180 Rotate 180°

Example

// Acquire image in landscape orientation (if supported)
ImageEnView1.IO.AcquireParams.Orientation := ieaoLandscape;
ImageEnView1.IO.AcquireParams.VisibleDialog := False;
ImageEnView1.IO.Acquire();

See Also

Orientation
WIA_IPS_ORIENTATION