Aspose::Page::XPS::XpsDocument::CreateIccProfile method

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

Creates a new ICC profile resource out of stream .

System::SharedPtr<XpsModel::XpsIccProfile> Aspose::Page::XPS::XpsDocument::CreateIccProfile(System::SharedPtr<System::IO::Stream> stream)
ParameterTypeDescription
streamSystem::SharedPtr<System::IO::Stream>The stream containing the ICC profile to take as a resource.

ReturnValue

New ICC profile resource.

See Also

XpsDocument::CreateIccProfile(System::String) method

Creates a new ICC profile resource out of ICC profile file located at the iccProfilePath .

System::SharedPtr<XpsModel::XpsIccProfile> Aspose::Page::XPS::XpsDocument::CreateIccProfile(System::String iccProfilePath)
ParameterTypeDescription
iccProfilePathSystem::StringThe path to the ICC profile to take as a resource.

ReturnValue

New ICC profile resource.

See Also