语言

ImageAttributes.ClearOutputChannel 方法

定义

清除 CMYK(青红色-黄色-黑色)输出通道设置。

重载

名称 说明
ClearOutputChannel()

清除默认类别的 CMYK(青红色-黄色-黑色)输出通道设置。

ClearOutputChannel(ColorAdjustType)

清除指定类别的 (cyan-magenta-yellow-black) 输出通道设置。

ClearOutputChannel()

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

清除默认类别的 CMYK(青红色-黄色-黑色)输出通道设置。

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

注解

对象维护五个 ImageAttributes 调整类别的颜色和灰度设置:默认、位图、画笔、笔和文本。 例如,可以为默认类别指定输出通道,并为位图类别指定不同的输出通道。

默认颜色调整和灰度调整设置适用于没有自己调整设置的所有类别。 例如,如果从未为位图类别指定任何调整设置,则默认设置将应用于位图类别。

适用于

ClearOutputChannel(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

清除指定类别的 (cyan-magenta-yellow-black) 输出通道设置。

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

参数

type
ColorAdjustType

一个元素 ColorAdjustType ,指定清除输出通道设置的类别。

注解

对象维护五个 ImageAttributes 调整类别的颜色和灰度设置:默认、位图、画笔、笔和文本。 例如,可以为默认类别指定输出通道,并为位图类别指定不同的输出通道。

默认颜色调整和灰度调整设置适用于没有自己调整设置的所有类别。 例如,如果从未为位图类别指定任何调整设置,则默认设置将应用于位图类别。

指定特定类别的颜色调整或灰度调整设置后,默认调整设置将不再应用于该类别。 例如,假设为默认类别指定输出通道和调整矩阵。 如果通过调用 SetOutputChannel 该方法为位图类别设置输出通道,则默认输出通道将不适用于位图。 如果稍后通过调用 ClearOutputChannel 该方法清除位图输出通道,位图类别将不会还原为默认输出通道;而位图类别将没有输出通道设置。 同样,位图类别不会还原为默认颜色调整矩阵;相反,位图类别将没有颜色调整矩阵。

适用于