This documentation is archived and is not being maintained.

ImageAttributes.SetNoOp Method

Turns off color adjustment.

Overload List

Turns off color adjustment for the default category. You can call ClearNoOp to reinstate the color-adjustment settings that were in place before the call to SetNoOp.

[Visual Basic] Overloads Public Sub SetNoOp()
[C#] public void SetNoOp();
[C++] public: void SetNoOp();
[JScript] public function SetNoOp();

Turns off color adjustment for a specified category. You can call ClearNoOp to reinstate the color-adjustment settings that were in place before the call to SetNoOp.

[Visual Basic] Overloads Public Sub SetNoOp(ColorAdjustType)
[C#] public void SetNoOp(ColorAdjustType);
[C++] public: void SetNoOp(ColorAdjustType);
[JScript] public function SetNoOp(ColorAdjustType);

Example

For an example, see ImageAttributes.SetNoOp Method ().

See Also

ImageAttributes Class | ImageAttributes Members | System.Drawing.Imaging Namespace

Show: