## GetPropertyColor(string) {#getpropertycolor}

Mendapat nilai properti warna.

```csharp
public virtual Color GetPropertyColor(string key)
```

| Parameter | Jenis | Keterangan |
| --- | --- | --- |
| key | String | Nama properti. |

### Nilai Pengembalian

Nilai properti.

### Lihat juga

* class [UserProperties](../)
* ruang nama [Aspose.Page](../../userproperties/)
* perakitan [Aspose.Page](../../../)

---

## GetPropertyColor(string, Color) {#getpropertycolor_1}

Mendapat nilai properti warna. Jika properti yang diminta tidak ada, kembalikan nilai default yang diberikan.

```csharp
public virtual Color GetPropertyColor(string key, Color def)
```

| Parameter | Jenis | Keterangan |
| --- | --- | --- |
| key | String | Nama properti. |
| def | Color | Nilai default properti. |

### Nilai Pengembalian

Nilai properti.

### Lihat juga

* class [UserProperties](../)
* ruang nama [Aspose.Page](../../userproperties/)
* perakitan [Aspose.Page](../../../)


