.. _doxcsid-class_p1_1_1_image_sdk_1_1_convert_config_1a1129baa5d3015f5fe4bd0b8db4ffa937: ConvertConfig.SetClarity Method +++++++++++++++++++++++++++++++ Definition """""""""" *Namespace:* ``P1.ImageSdk`` Setup the clarity tool. Its used as a tool to help control the local contrast in the image. A negative value will decrease local contrast and and positive increase it. Its a combination of selecting a method and a factor (amount) .. ref-code-block:: csharp :class: doxyrest-overview-code-block public :ref:`ConvertConfig` SetClarity(int clarityMethod, float clarityFactor); .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - clarityMethod - It can be set to: clarityMethodNeutral = 0, clarityMethodPunch=1, clarityMethodNatural=2. Default is clarityMethodNeutral * - clarityFactor - Value defining the factor used for the clarity tool. It is a value between -1.0 and 1.0. Default is 0.0 for disabled .. rubric:: Returns: