ColorMatrixEffect::SetParameters method (gdipluseffects.h)
The ColorMatrixEffect::SetParameters method sets the 5x5 color matrix of this ColorMatrixEffect object.
Syntax
Status SetParameters(
[in] const ColorMatrix *matrix
);
Parameters
[in] matrix
Type: const ColorMatrix*
Pointer to a ColorMatrix object that specifies the 5x5 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 |