Метод Aspose::Page::XPS::XpsDocument::CreateIccProfile

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

Создаёт новый ресурс ICC‑профиля из stream .

System::SharedPtr<XpsModel::XpsIccProfile> Aspose::Page::XPS::XpsDocument::CreateIccProfile(System::SharedPtr<System::IO::Stream> stream)
ПараметрТипОписание
потокSystem::SharedPtr<System::IO::Stream>Поток, содержащий ICC‑профиль, который будет использоваться как ресурс.

ReturnValue

Новый ресурс ICC‑профиля.

См. также

XpsDocument::CreateIccProfile(System::String) method

Создаёт новый ресурс ICC‑профиля из файла ICC‑профиля, расположенного по пути iccProfilePath .

System::SharedPtr<XpsModel::XpsIccProfile> Aspose::Page::XPS::XpsDocument::CreateIccProfile(System::String iccProfilePath)
ПараметрТипОписание
iccProfilePathSystem::StringПуть к ICC‑профилю, который будет использоваться как ресурс.

ReturnValue

Новый ресурс ICC‑профиля.

См. также