ImageAttributes.SetColorMatrix

SetColorMatrix(ColorMatrix)

Sets the color-adjustment matrix for the default category.

public void SetColorMatrix(ColorMatrix newColorMatrix)
ParameterTypeDescription
newColorMatrixColorMatrixThe color-adjustment matrix.

See Also


SetColorMatrix(ColorMatrix, ColorMatrixFlag)

Sets the color-adjustment matrix for the default category.

public void SetColorMatrix(ColorMatrix newColorMatrix, ColorMatrixFlag flags)
ParameterTypeDescription
newColorMatrixColorMatrixThe color-adjustment matrix.
flagsColorMatrixFlagAn element of ColorMatrixFlag that specifies the type of image and color that will be affected by the color-adjustment matrix.

See Also


SetColorMatrix(ColorMatrix, ColorMatrixFlag, ColorAdjustType)

Sets the color-adjustment matrix for a specified category.

public void SetColorMatrix(ColorMatrix newColorMatrix, ColorMatrixFlag mode, ColorAdjustType type)
ParameterTypeDescription
newColorMatrixColorMatrixThe color-adjustment matrix.
modeColorMatrixFlagAn element of ColorMatrixFlag that specifies the type of image and color that will be affected by the color-adjustment matrix.
typeColorAdjustTypeAn element of ColorAdjustType that specifies the category for which the color-adjustment matrix is set.

See Also