TIETwainParams.XResolution
Declaration
property XResolution: TIEDoubleList;
Description
Specifies the DPI (Dots per Inch) in the X-axis.
Allowed values can be assigned to XResolution.CurrentValue property. To see which values your scanner supports, consult the XResolution.Items[] array, or XResolution.RangeMin, XResolution.RangeMax and XResolution.RangeStep.
You can also limit scanner user interface allowed values by removing some XResolution.Items[] items or changing XResolution.RangeMin, XResolution.RangeMax and XResolution.RangeStep.
Twain Property: ICAP_XRESOLUTION
Note: Use
IsCapabilitySupported to determine if this capability is supported by the current scanner
// 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();