ImageAttributes.ClearOutputChannelColorProfile 方法

定义

清除输出通道颜色配置文件设置。

重载

ClearOutputChannelColorProfile(ColorAdjustType)

为指定类别清除输出通道颜色配置文件设置。

ClearOutputChannelColorProfile()

为默认类别清除输出通道颜色配置文件设置。

ClearOutputChannelColorProfile(ColorAdjustType)

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

为指定类别清除输出通道颜色配置文件设置。

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

参数

type
ColorAdjustType

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

注解

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

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

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

适用于

ClearOutputChannelColorProfile()

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

为默认类别清除输出通道颜色配置文件设置。

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

注解

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

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

适用于