SetColorMatrix

ImageAttributes.SetColorMatrix method (1 of 3)

Sets the color-adjustment matrix for the default category.

public void SetColorMatrix(ColorMatrix newColorMatrix)
Parameter Type Description
newColorMatrix ColorMatrix The color-adjustment matrix.

See Also


ImageAttributes.SetColorMatrix method (2 of 3)

Sets the color-adjustment matrix for the default category.

public void SetColorMatrix(ColorMatrix newColorMatrix, ColorMatrixFlag flags)
Parameter Type Description
newColorMatrix ColorMatrix The color-adjustment matrix.
flags ColorMatrixFlag An element of ColorMatrixFlag that specifies the type of image and color that will be affected by the color-adjustment matrix.

See Also


ImageAttributes.SetColorMatrix method (3 of 3)

Sets the color-adjustment matrix for a specified category.

public void SetColorMatrix(ColorMatrix newColorMatrix, ColorMatrixFlag mode, ColorAdjustType type)
Parameter Type Description
newColorMatrix ColorMatrix The color-adjustment matrix.
mode ColorMatrixFlag An element of ColorMatrixFlag that specifies the type of image and color that will be affected by the color-adjustment matrix.
type ColorAdjustType An element of ColorAdjustType that specifies the category for which the color-adjustment matrix is set.

See Also