## XpsDocument::CreateColor(float, float, float, float) method


Maakt een nieuwe kleur in de scRGB-kleurruimte.

```cpp
System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(float a, float r, float g, float b)
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| een | float | De alfa-kleurcomponent. |
| r | float | De rode kleurcomponent. |
| g | float | De groene kleurcomponent. |
| b | float | De blauwe kleurcomponent. |

### ReturnValue

Nieuwe kleur.

## Zie ook

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XpsColor](../../../aspose.page.xps.xpsmodel/xpscolor/)
* Class [XpsDocument](../)
* Namespace [Aspose::Page::XPS](../../)
* Library [Aspose.Page for C++](../../../)
## XpsDocument::CreateColor(float, float, float) method


Maakt een nieuwe kleur in de scRGB-kleurruimte.

```cpp
System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(float r, float g, float b)
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| r | float | De rode kleurcomponent. |
| g | float | De groene kleurcomponent. |
| b | float | De blauwe kleurcomponent. |

### ReturnValue

Nieuwe kleur.

## Zie ook

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XpsColor](../../../aspose.page.xps.xpsmodel/xpscolor/)
* Class [XpsDocument](../)
* Namespace [Aspose::Page::XPS](../../)
* Library [Aspose.Page for C++](../../../)
## XpsDocument::CreateColor(int32_t, int32_t, int32_t, int32_t) method


Maakt een nieuwe kleur in de sRGB-kleurruimte.

```cpp
System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(int32_t a, int32_t r, int32_t g, int32_t b)
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| een | int32_t | De alfa-kleurcomponent. |
| r | int32_t | De rode kleurcomponent. |
| g | int32_t | De groene kleurcomponent. |
| b | int32_t | De blauwe kleurcomponent. |

### ReturnValue

Nieuwe kleur.

## Zie ook

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XpsColor](../../../aspose.page.xps.xpsmodel/xpscolor/)
* Class [XpsDocument](../)
* Namespace [Aspose::Page::XPS](../../)
* Library [Aspose.Page for C++](../../../)
## XpsDocument::CreateColor(int32_t, int32_t, int32_t) method


Maakt een nieuwe kleur in de sRGB-kleurruimte.

```cpp
System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(int32_t r, int32_t g, int32_t b)
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| r | int32_t | De rode kleurcomponent. |
| g | int32_t | De groene kleurcomponent. |
| b | int32_t | De blauwe kleurcomponent. |

### ReturnValue

Nieuwe kleur.

## Zie ook

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XpsColor](../../../aspose.page.xps.xpsmodel/xpscolor/)
* Class [XpsDocument](../)
* Namespace [Aspose::Page::XPS](../../)
* Library [Aspose.Page for C++](../../../)
## XpsDocument::CreateColor(System::Drawing::Color) method


Maakt een nieuwe kleur.

```cpp
System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(System::Drawing::Color color)
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| kleur | System::Drawing::Color | Een native kleurinstantie voor RGB-kleur. |

### ReturnValue

Nieuwe kleur.

## Zie ook

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XpsColor](../../../aspose.page.xps.xpsmodel/xpscolor/)
* Class [Color](../../../system.drawing/color/)
* Class [XpsDocument](../)
* Namespace [Aspose::Page::XPS](../../)
* Library [Aspose.Page for C++](../../../)
## XpsDocument::CreateColor(System::SharedPtr\<XpsModel::XpsIccProfile\>, const System::ArrayPtr\<float\>\&) method


Maakt een nieuwe kleur in een ICC-gebaseerde kleurruimte.

```cpp
System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(System::SharedPtr<XpsModel::XpsIccProfile> iccProfile, const System::ArrayPtr<float> &components)
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| iccProfile | System::SharedPtr\<XpsModel::XpsIccProfile\> | De ICC-profielresource. |
| componenten | const System::ArrayPtr\<float\>\& | Kleurcomponenten. |

### ReturnValue

Nieuwe kleur.

## Zie ook

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XpsColor](../../../aspose.page.xps.xpsmodel/xpscolor/)
* Class [XpsIccProfile](../../../aspose.page.xps.xpsmodel/xpsiccprofile/)
* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [XpsDocument](../)
* Namespace [Aspose::Page::XPS](../../)
* Library [Aspose.Page for C++](../../../)
## XpsDocument::CreateColor(System::String, const System::ArrayPtr\<float\>\&) method


Maakt een nieuwe kleur in een ICC-gebaseerde kleurruimte.

```cpp
System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(System::String path, const System::ArrayPtr<float> &components)
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| pad | System::String | Het pad naar het ICC-profiel. |
| componenten | const System::ArrayPtr\<float\>\& | Kleurcomponenten. |

### ReturnValue

Nieuwe kleur.

## Zie ook

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