Export (0) Print
Expand All

ColorMatrix Constructor (array<array<Single>>)

Initializes a new instance of the ColorMatrix class using the elements in the specified matrix newColorMatrix.

This API is not CLS-compliant. 

Namespace:  System.Drawing.Imaging
Assembly:  System.Drawing (in System.Drawing.dll)

[CLSCompliantAttribute(false)]
public:
ColorMatrix(
	array<array<float>^>^ newColorMatrix
)

Parameters

newColorMatrix
Type: array<array<System::Single>>

The values of the elements for the new ColorMatrix.

The following code example demonstrates how to construct and use a ColorMatrix. To run this example, paste the code into a Windows Form and call RotateColors from the form's Paint event-handling method passing e as PaintEventArgs.

No code example is currently available or this language may not be supported.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft