ImageEn, unit ietwain

TIETwainParams.YResolution

TIETwainParams.YResolution


Declaration

property YResolution: TIEDoubleList;


Description

Specifies the DPI (Dots per Inch) in the Y-axis.

Allowed values can be assigned to YResolution.CurrentValue property. To see which values your scanner supports, consult the YResolution.Items[] array, or YResolution.RangeMin, YResolution.RangeMax and YResolution.RangeStep.

You can also limit scanner user interface allowed values by removing some YResolution.Items[] items or by changing YResolution.RangeMin, YResolution.RangeMax or YResolution.RangeStep.

Twain Property: ICAP_YRESOLUTION

Note: Use IsCapabilitySupported to detemine if this capability is supported by the current scanner


Example

// Acquire with 100 DPI (if supported by scanner)
ImageEnView1.IO.XResolution.CurrentValue := 100;
ImageEnView1.IO.YResolution.CurrentValue := 100;
ImageEnView1.IO.VisibleDialog := False;
ImageEnView1.IO.Acquire();