If you are asking about TWAIN component, those methods are named:
EnumDevices() - List scanners.
SelectDevice() - Select the scanner.
BeginScan(Boolean OpenDialog, String DeviceName, String PictureFormat, Number Resolution, Number Chromaticity, Number Rotation, Number PaperSize, Number DeflateParameter, Boolean DoubleSidedScan) - Get the picture from the scanner.
PictureFormat values:
a) PNG (default)
b) JPG
c) TIF
other formats, supported by the scanner
Resolution values:
number of dot per inch, for example 300 (300 DPI)
Chromaticity values:
a) 0 (black/white)
b) 1 (grayscale)
c) 2 (color)
Rotation values:
a) 0 (0 degrees)
b) 90 (90 degrees)
c) 180 (180 degrees)
d) 270 (270 degrees)
PaperSize values:
a) 0 (not set)
b) 11 (А3)
c) 1 (А4)
d) 5 (А5)
e) 6 (B4)
f) 2 (B5)
g) 7 (B6)
h) 14 (C4)
i) 15 (C5)
j) 16 (C6)
k) 3 (USLetter)
l) 4 (USLegal)
m) 10 (USExecutive)
DeflateParameter values:
Depend on the image format.
a) For JPG
0...100
b) For TIF:
2 – LZW
3 – CCITT3
4 – CCITT4
5 – RLE
6 – without compression