Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: scanner ::
interface XScannerManager
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-XScannerManager
Description

Methods' Summary
getAvailableScanners | returns all avilable scanner devices
configureScanner | produce some kind of User Interface to let the user have a preview, configure the scan area, etc., it returns FALSE if user cancelled this process
startScan | start the scanning process listener will be called when scan is complete the EventObject of the disposing call will contain the ScannerManager if the scan was successfull, an empty interface otherwise
getError | get the state of scanning after completion of scan
getBitmap | get the image after completion of scan

Methods' Details
getAvailableScanners
sequence< ScannerContext > getAvailableScanners(); |  |
Description returns all avilable scanner devices
configureScanner
boolean configureScanner( | [inout] ScannerContext raises( | scanner_context ) ScannerException );
Description produce some kind of User Interface to let the user have a preview, configure the scan area, etc., it returns FALSE if user cancelled this process
startScan
void startScan( | [in] ScannerContext [in] ::com::sun::star::lang::XEventListener raises( | scanner_context, listener ) ScannerException );
Description start the scanning process listener will be called when scan is complete the EventObject of the disposing call will contain the ScannerManager if the scan was successfull, an empty interface otherwise
getError
ScanError getError( | [in] ScannerContext raises( | scanner_context ) ScannerException );
Description get the state of scanning after completion of scan
getBitmap
::com::sun::star::awt::XBitmap getBitmap( | [in] ScannerContext raises( | scanner_context ) ScannerException );
Description get the image after completion of scan

Top of Page

Copyright © 2003 Sun Microsystems, Inc.