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


ينشئ مورد ملف تعريف ICC جديد من *stream*.

```cpp
System::SharedPtr<XpsModel::XpsIccProfile> Aspose::Page::XPS::XpsDocument::CreateIccProfile(System::SharedPtr<System::IO::Stream> stream)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| دفق | System::SharedPtr\<System::IO::Stream\> | الدفق الذي يحتوي على ملف تعريف ICC لاستخدامه كمورد. |

### ReturnValue

مورد ملف تعريف ICC جديد.

## انظر أيضًا

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XpsIccProfile](../../../aspose.page.xps.xpsmodel/xpsiccprofile/)
* Class [Stream](../../../system.io/stream/)
* Class [XpsDocument](../)
* Namespace [Aspose::Page::XPS](../../)
* Library [Aspose.Page for C++](../../../)
## XpsDocument::CreateIccProfile(System::String) method


ينشئ مورد ملف تعريف ICC جديد من ملف تعريف ICC الموجود في *iccProfilePath*.

```cpp
System::SharedPtr<XpsModel::XpsIccProfile> Aspose::Page::XPS::XpsDocument::CreateIccProfile(System::String iccProfilePath)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| iccProfilePath | System::String | المسار إلى ملف تعريف ICC لاستخدامه كمورد. |

### ReturnValue

مورد ملف تعريف ICC جديد.

## انظر أيضًا

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XpsIccProfile](../../../aspose.page.xps.xpsmodel/xpsiccprofile/)
* Class [String](../../../system/string/)
* Class [XpsDocument](../)
* Namespace [Aspose::Page::XPS](../../)
* Library [Aspose.Page for C++](../../../)
