You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > TWAIN Features > TwainSetNoiseFilter Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.TwainSetNoiseFilter Method

Tries to set the current algorithm used to remove noise for the selected twain source.

C#
public Boolean TwainSetNoiseFilter(
    TwainNoiseFilterMode NoiseFilter
);
Visual Basic
Public Function TwainSetNoiseFilter(
    ByVal NoiseFilter As TwainNoiseFilterMode
) As Boolean
Parameters
Parameters 
Description 
NoiseFilter 
The noise filter mode. A member of the TwainNoiseFilterMode enumeration. 
Returns

TRUE if success, FALSE otherwise -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() functions for diagnosing the error.

Before using this function check that the TWAIN state is TWAIN_SOURCE_OPEN (4) 

To get the TWAIN state, use the TwainGetState() function.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.