XpsDocument.CreateColor
Inhalt
[
Ausblenden
]CreateColor(Color)
Erstellt eine neue Farbe.
public XpsColor CreateColor(Color color)
| Parameter | Typ | Beschreibung | 
|---|---|---|
| color | Color | Eine native Farbinstanz für RGB-Farbe. | 
Rückgabewert
Neue Farbe.
Siehe auch
- class XpsColor
- class XpsDocument
- namensraum Aspose.Page.XPS
- Montage Aspose.Page
CreateColor(int, int, int, int)
Erstellt eine neue Farbe im sRGB-Farbraum.
public XpsColor CreateColor(int a, int r, int g, int b)
| Parameter | Typ | Beschreibung | 
|---|---|---|
| a | Int32 | Die Alpha-Farbkomponente. | 
| r | Int32 | Die rote Farbkomponente. | 
| g | Int32 | Die grüne Farbkomponente. | 
| b | Int32 | Die blaue Farbkomponente. | 
Rückgabewert
Neue Farbe.
Siehe auch
- class XpsColor
- class XpsDocument
- namensraum Aspose.Page.XPS
- Montage Aspose.Page
CreateColor(int, int, int)
Erstellt eine neue Farbe im sRGB-Farbraum.
public XpsColor CreateColor(int r, int g, int b)
| Parameter | Typ | Beschreibung | 
|---|---|---|
| r | Int32 | Die rote Farbkomponente. | 
| g | Int32 | Die grüne Farbkomponente. | 
| b | Int32 | Die blaue Farbkomponente. | 
Rückgabewert
Neue Farbe.
Siehe auch
- class XpsColor
- class XpsDocument
- namensraum Aspose.Page.XPS
- Montage Aspose.Page
CreateColor(float, float, float, float)
Erstellt eine neue Farbe im scRGB-Farbraum.
public XpsColor CreateColor(float a, float r, float g, float b)
| Parameter | Typ | Beschreibung | 
|---|---|---|
| a | Single | Die Alpha-Farbkomponente. | 
| r | Single | Die rote Farbkomponente. | 
| g | Single | Die grüne Farbkomponente. | 
| b | Single | Die blaue Farbkomponente. | 
Rückgabewert
Neue Farbe.
Siehe auch
- class XpsColor
- class XpsDocument
- namensraum Aspose.Page.XPS
- Montage Aspose.Page
CreateColor(float, float, float)
Erstellt eine neue Farbe im scRGB-Farbraum.
public XpsColor CreateColor(float r, float g, float b)
| Parameter | Typ | Beschreibung | 
|---|---|---|
| r | Single | Die rote Farbkomponente. | 
| g | Single | Die grüne Farbkomponente. | 
| b | Single | Die blaue Farbkomponente. | 
Rückgabewert
Neue Farbe.
Siehe auch
- class XpsColor
- class XpsDocument
- namensraum Aspose.Page.XPS
- Montage Aspose.Page
CreateColor(string, params float[])
Erstellt eine neue Farbe im ICC-basierten Farbraum.
public XpsColor CreateColor(string path, params float[] components)
| Parameter | Typ | Beschreibung | 
|---|---|---|
| path | String | Der Pfad zum ICC-Profil. | 
| components | Single[] | Farbkomponenten. | 
Rückgabewert
Neue Farbe.
Siehe auch
- class XpsColor
- class XpsDocument
- namensraum Aspose.Page.XPS
- Montage Aspose.Page
CreateColor(XpsIccProfile, params float[])
Erstellt eine neue Farbe im ICC-basierten Farbraum.
public XpsColor CreateColor(XpsIccProfile iccProfile, params float[] components)
| Parameter | Typ | Beschreibung | 
|---|---|---|
| iccProfile | XpsIccProfile | Die ICC-Profilressource. | 
| components | Single[] | Farbkomponenten. | 
Rückgabewert
Neue Farbe.
Siehe auch
- class XpsColor
- class XpsIccProfile
- class XpsDocument
- namensraum Aspose.Page.XPS
- Montage Aspose.Page