ColorMatrixEffect::GetParameters method (gdipluseffects.h)

The ColorMatrixEffect::GetParameters method gets the elements of the current 5x5 color matrix of this ColorMatrixEffect object.

Syntax

Status GetParameters(
  [in]  UINT        *size,
  [out] ColorMatrix *matrix
);

Parameters

[in] size

Type: UINT*

Pointer to a UINT that specifies the size, in bytes, of a ColorMatrix structure.

[out] matrix

Type: ColorMatrix*

Pointer to a ColorMatrix structure that receives the elements of the color matrix.

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

ColorMatrixEffect

ColorMatrixEffect::SetParameters