ImageAttributes.ClearNoOp 方法

定义

清除设置 NoOp

重载

名称 说明
ClearNoOp()

清除 NoOp 默认类别的设置。

ClearNoOp(ColorAdjustType)

清除 NoOp 指定类别的设置。

ClearNoOp()

Source:
ImageAttributes.cs
Source:
ImageAttributes.cs
Source:
ImageAttributes.cs
Source:
ImageAttributes.cs
Source:
ImageAttributes.cs
Source:
ImageAttributes.cs
Source:
ImageAttributes.cs
Source:
ImageAttributes.cs

清除 NoOp 默认类别的设置。

public:
 void ClearNoOp();
public void ClearNoOp();
member this.ClearNoOp : unit -> unit
Public Sub ClearNoOp ()

注解

对象维护五个 ImageAttributes 调整类别的颜色和灰度设置:默认、位图、画笔、笔和文本。 例如,可以为默认类别指定伽玛值、位图类别的不同伽玛值,以及笔类别的其他伽玛值。

可以通过调用 SetNoOp 该方法来禁用默认类别的颜色调整。 稍后,可以通过调用 ClearNoOp 方法恢复默认类别的颜色调整。 然后,颜色调整返回到调用 SetNoOp之前已到位的内容。

适用于

ClearNoOp(ColorAdjustType)

Source:
ImageAttributes.cs
Source:
ImageAttributes.cs
Source:
ImageAttributes.cs
Source:
ImageAttributes.cs
Source:
ImageAttributes.cs
Source:
ImageAttributes.cs
Source:
ImageAttributes.cs
Source:
ImageAttributes.cs

清除 NoOp 指定类别的设置。

public:
 void ClearNoOp(System::Drawing::Imaging::ColorAdjustType type);
public void ClearNoOp(System.Drawing.Imaging.ColorAdjustType type);
member this.ClearNoOp : System.Drawing.Imaging.ColorAdjustType -> unit
Public Sub ClearNoOp (type As ColorAdjustType)

参数

type
ColorAdjustType

一个元素 ColorAdjustType ,指定清除设置的 NoOp 类别。

注解

对象维护五个 ImageAttributes 调整类别的颜色和灰度设置:默认、位图、画笔、笔和文本。 例如,可以为默认类别指定伽玛值、位图类别的不同伽玛值,以及笔类别的其他伽玛值。

可以通过调用 SetNoOp 该方法来禁用特定类别的颜色调整。 稍后,可以通过调用 ClearNoOp 该方法恢复该类别的颜色调整。 然后,颜色调整返回到调用 SetNoOp之前已到位的内容。

适用于