Aspose::Page::XPS::XpsDocument::CreateIccProfile 方法

XpsDocument::CreateIccProfile(System::SharedPtr<System::IO::Stream>) method

stream 创建一个新的 ICC 配置文件资源。

System::SharedPtr<XpsModel::XpsIccProfile> Aspose::Page::XPS::XpsDocument::CreateIccProfile(System::SharedPtr<System::IO::Stream> stream)
ParameterType描述
System::SharedPtr<System::IO::Stream>包含 ICC 配置文件以用作资源的流。

ReturnValue

新的 ICC 配置文件资源。

另见

XpsDocument::CreateIccProfile(System::String) method

从位于 iccProfilePath 的 ICC 配置文件创建一个新的 ICC 配置文件资源。

System::SharedPtr<XpsModel::XpsIccProfile> Aspose::Page::XPS::XpsDocument::CreateIccProfile(System::String iccProfilePath)
ParameterType描述
iccProfilePathSystem::String用于作为资源的 ICC 配置文件的路径。

ReturnValue

新的 ICC 配置文件资源。

另见