tmozIScanDevice Interface Reference

Scan Device. More...

List of all members.

Public Member Functions

void registerListener (in tmozIScanDeviceNotify scanNotify)
 Register scan listener.
void unregisterListener (in tmozIScanDeviceNotify scanNotify)
 Unregister scan listener.
void scan (in tmozIScanFormat scanProfile, in tmozIScanInterpret scanInterpret)
 Scan without user interface.
void changeDevice (in AString devType, in AString devName)
 Select scanning device.

Public Attributes

readonly attribute AString name
 Name of current scanning device.
readonly attribute AString type
 Type of current scanning device.


Detailed Description

Scan Device.

Scan Device allows to scan


Member Function Documentation

void changeDevice ( in AString  devType,
in AString  devName 
)

Select scanning device.

Parameters:
devType Device type
  • ANY find suitable device
  • WIA for WIA devices
  • TWAIN for Twain compatible devices
devName Name of the device

void registerListener ( in tmozIScanDeviceNotify  scanNotify  ) 

Register scan listener.

Parameters:
scanNotify Listener

void scan ( in tmozIScanFormat  scanProfile,
in tmozIScanInterpret  scanInterpret 
)

Scan without user interface.

Method start scanning without scanner native interface.

Parameters:
scanProfile Scanning profile
scanInterpret Scan attribute interpretter

void unregisterListener ( in tmozIScanDeviceNotify  scanNotify  ) 

Unregister scan listener.

Parameters:
scanNotify Listener


Generated on Wed Dec 15 09:54:21 2010 for Tahiti XPCOM API