←Select platform
In This Topic ▼

SaneScanningService Class Members


The following tables list the members exposed by SaneScanningService.

Public Methods

Name Description
Public Method
Acquire Acquires images from the selected source.
Public Method AddClientListener Adds a listener for client session events
Public Method AddImageProcessingListener Adds a listener for image processing events
Public Method DeletePage Deletes the specified page.
Public Method GetImage Gets the specified image
Public Method GetOptionValue Gets value of the specified option.
Public Method GetPage Gets a specific image page.
Public Method GetSources Gets the available sources.
Public Method GetStatus Gets the status of the service
Public Method Init Initializes the SANE service
Public Method Preview Gets a preview for a command for the specified page of an image in the Leadtools.Sane session manager.
Public Method RemoveClientListener Removes the specified client session events listener
Public Method RemoveImageProcessingListener Removes the specified image processing events listener
Public Method Run Runs custom user commands.
Public Method SelectSource Selects a source for acquiring images.
Public Method SetImage Sets the specified image page
Public Method SetOptionValue Sets the value of the specified option.
Public Method Start Starts the scanning session.
Public Method Stop Stops the scanning session.

Protected Methods

Name Description
Protected Method
CreateRasterCodecs Creates a RasterCodecs instance for saving and loading the scanned images
Protected Method GenerateId Generates a new session ID

Public Properties

Name Description
Public Property
RunCommandCallBack Gets or sets the user command callback.

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Sane.Server Assembly