BrightnessContrast::SetParameters method (gdipluseffects.h)

The BrightnessContrast::SetParameters method sets the parameters of this BrightnessContrast object.

Syntax

Status SetParameters(
  [in] const BrightnessContrastParams *parameters
);

Parameters

[in] parameters

Type: const BrightnessContrastParams*

Pointer to a BrightnessContrastParams structure that specifies the parameters.

Return value

Type: Status

If the method succeeds, it returns Ok, which is an element of the Status enumeration.

If the method fails, it returns one of the other elements of the Status enumeration.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header gdipluseffects.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

BrightnessContrast

BrightnessContrast::GetParameters