Levels::SetParameters method (gdipluseffects.h)

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

Syntax

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

Parameters

[in] parameters

Type: const LevelsParams*

Pointer to a LevelsParams 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

Levels

Levels::GetParameters