ImageAttributes.SetOutputChannelColorProfile

SetOutputChannelColorProfile(string)

为默认类别设置输出通道的色彩配置文件。

public void SetOutputChannelColorProfile(string colorProfileFilename)
参数类型描述
colorProfileFilenameStringcolor-profile 文件的路径名。如果该文件位于 %SystemRoot%\System32\Spool\Drivers\Color 目录中,此参数可以仅为文件名。否则,此参数必须是完整的路径名。

另请参见


SetOutputChannelColorProfile(string, ColorAdjustType)

为指定类别设置输出通道的色彩配置文件。

public void SetOutputChannelColorProfile(string colorProfileFilename, ColorAdjustType type)
参数类型描述
colorProfileFilenameStringcolor-profile 文件的路径名。如果该文件位于 %SystemRoot%\System32\Spool\Drivers\Color 目录中,此参数可以仅为文件名。否则,此参数必须是完整的路径名。
typeColorAdjustTypeColorAdjustType 的一个元素,指定为哪个类别设置输出通道的 color-profile 文件。

另请参见