Metodo Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateColor
Contenuti
[
Nascondere
]PageAPI::CreateColor(float, float, float, float) method
Crea un nuovo colore nello spazio colore scRGB.
System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateColor(float a, float r, float g, float b)
| Parametro | Tipo | Descrizione |
|---|---|---|
| a | float | Il componente alfa del colore. |
| r | float | Il componente di colore rosso. |
| g | float | Il componente di colore verde. |
| b | float | Il componente di colore blu. |
ReturnValue
Nuovo colore.
Vedi anche
- Typedef SharedPtr
- Class XpsColor
- Class PageAPI
- Namespace Aspose::Page::XPS::Features::EventBasedModifications
- Library Aspose.Page for C++
PageAPI::CreateColor(float, float, float) method
Crea un nuovo colore nello spazio colore scRGB.
System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateColor(float r, float g, float b)
| Parametro | Tipo | Descrizione |
|---|---|---|
| r | float | Il componente di colore rosso. |
| g | float | Il componente di colore verde. |
| b | float | Il componente di colore blu. |
ReturnValue
Nuovo colore.
Vedi anche
- Typedef SharedPtr
- Class XpsColor
- Class PageAPI
- Namespace Aspose::Page::XPS::Features::EventBasedModifications
- Library Aspose.Page for C++
PageAPI::CreateColor(int32_t, int32_t, int32_t, int32_t) method
Crea un nuovo colore nello spazio colore sRGB.
System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateColor(int32_t a, int32_t r, int32_t g, int32_t b)
| Parametro | Tipo | Descrizione |
|---|---|---|
| a | int32_t | Il componente alfa del colore. |
| r | int32_t | Il componente di colore rosso. |
| g | int32_t | Il componente di colore verde. |
| b | int32_t | Il componente di colore blu. |
ReturnValue
Nuovo colore.
Vedi anche
- Typedef SharedPtr
- Class XpsColor
- Class PageAPI
- Namespace Aspose::Page::XPS::Features::EventBasedModifications
- Library Aspose.Page for C++
PageAPI::CreateColor(int32_t, int32_t, int32_t) method
Crea un nuovo colore nello spazio colore sRGB.
System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateColor(int32_t r, int32_t g, int32_t b)
| Parametro | Tipo | Descrizione |
|---|---|---|
| r | int32_t | Il componente di colore rosso. |
| g | int32_t | Il componente di colore verde. |
| b | int32_t | Il componente di colore blu. |
ReturnValue
Nuovo colore.
Vedi anche
- Typedef SharedPtr
- Class XpsColor
- Class PageAPI
- Namespace Aspose::Page::XPS::Features::EventBasedModifications
- Library Aspose.Page for C++
PageAPI::CreateColor(System::Drawing::Color) method
Crea un nuovo colore.
System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateColor(System::Drawing::Color color)
| Parametro | Tipo | Descrizione |
|---|---|---|
| colore | System::Drawing::Color | Un’istanza di colore nativa per il colore RGB. |
ReturnValue
Nuovo colore.
Vedi anche
- Typedef SharedPtr
- Class XpsColor
- Class Color
- Class PageAPI
- Namespace Aspose::Page::XPS::Features::EventBasedModifications
- Library Aspose.Page for C++
PageAPI::CreateColor(System::SharedPtr<XpsModel::XpsIccProfile>, const System::ArrayPtr<float>&) method
Crea un nuovo colore in uno spazio colore basato su ICC.
System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateColor(System::SharedPtr<XpsModel::XpsIccProfile> iccProfile, const System::ArrayPtr<float> &components)
| Parametro | Tipo | Descrizione |
|---|---|---|
| iccProfile | System::SharedPtr<XpsModel::XpsIccProfile> | La risorsa del profilo ICC. |
| componenti | const System::ArrayPtr<float>& | Componenti di colore. |
ReturnValue
Nuovo colore.
Vedi anche
- Typedef SharedPtr
- Class XpsColor
- Class XpsIccProfile
- Typedef ArrayPtr
- Class PageAPI
- Namespace Aspose::Page::XPS::Features::EventBasedModifications
- Library Aspose.Page for C++
PageAPI::CreateColor(System::String, const System::ArrayPtr<float>&) method
Crea un nuovo colore in uno spazio colore basato su ICC.
System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateColor(System::String path, const System::ArrayPtr<float> &components)
| Parametro | Tipo | Descrizione |
|---|---|---|
| percorso | System::String | Il percorso del profilo ICC. |
| componenti | const System::ArrayPtr<float>& | Componenti di colore. |
ReturnValue
Nuovo colore.
Vedi anche
- Typedef SharedPtr
- Class XpsColor
- Class String
- Typedef ArrayPtr
- Class PageAPI
- Namespace Aspose::Page::XPS::Features::EventBasedModifications
- Library Aspose.Page for C++