SetColorMatrix()

ImageAttributes::SetColorMatrix(const SharedPtr<ColorMatrix>&, ColorMatrixFlag, ColorAdjustType) method

Sets the color-adjustment matrix.

void System::Drawing::Imaging::ImageAttributes::SetColorMatrix(const SharedPtr<ColorMatrix> &newColorMatrix, ColorMatrixFlag mode=ColorMatrixFlag::Default, ColorAdjustType type=ColorAdjustType::Default)

Arguments

ParameterTypeDescription
newColorMatrixconst SharedPtr<ColorMatrix>&The color-adjustment matrix to set
modeColorMatrixFlagSpecifies the type of image and color that will be affected by the color-adjustment matrix
typeColorAdjustTypeSpecifies the type of objects for which the color-adjustment matrix is set

See Also