## UserProperties::SetProperty(System::String, bool) method


设置布尔属性值。

```cpp
virtual System::SharedPtr<System::Object> Aspose::Page::UserProperties::SetProperty(System::String key, bool value)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 键 | System::String | 属性的名称。 |
| value | bool | 属性的值。 |

### ReturnValue

一个属性。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [String](../../../system/string/)
* Class [UserProperties](../)
* Namespace [Aspose::Page](../../)
* Library [Aspose.Page for C++](../../../)
## UserProperties::SetProperty(System::String, double) method


设置双精度属性值。

```cpp
virtual System::SharedPtr<System::Object> Aspose::Page::UserProperties::SetProperty(System::String key, double value)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 键 | System::String | 属性的名称。 |
| value | double | 属性的值。 |

### ReturnValue

一个属性。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [String](../../../system/string/)
* Class [UserProperties](../)
* Namespace [Aspose::Page](../../)
* Library [Aspose.Page for C++](../../../)
## UserProperties::SetProperty(System::String, float) method


设置浮点属性值。

```cpp
virtual System::SharedPtr<System::Object> Aspose::Page::UserProperties::SetProperty(System::String key, float value)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 键 | System::String | 属性的名称。 |
| value | 单精度浮点数 | 属性的值。 |

### ReturnValue

一个属性。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [String](../../../system/string/)
* Class [UserProperties](../)
* Namespace [Aspose::Page](../../)
* Library [Aspose.Page for C++](../../../)
## UserProperties::SetProperty(System::String, int32_t) method


设置整数属性值。

```cpp
virtual System::SharedPtr<System::Object> Aspose::Page::UserProperties::SetProperty(System::String key, int32_t value)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 键 | System::String | 属性的名称。 |
| value | int32_t | 属性的值。 |

### ReturnValue

一个属性。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [String](../../../system/string/)
* Class [UserProperties](../)
* Namespace [Aspose::Page](../../)
* Library [Aspose.Page for C++](../../../)
## UserProperties::SetProperty(System::String, System::ArrayPtr\<System::String\>) method


设置字符串数组属性值。

```cpp
virtual System::SharedPtr<System::Object> Aspose::Page::UserProperties::SetProperty(System::String key, System::ArrayPtr<System::String> value)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 键 | System::String | 属性的名称。 |
| value | System::ArrayPtr\<System::String\> | 属性的值。 |

### ReturnValue

一个属性。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [String](../../../system/string/)
* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [UserProperties](../)
* Namespace [Aspose::Page](../../)
* Library [Aspose.Page for C++](../../../)
## UserProperties::SetProperty(System::String, System::Drawing::Color) method


设置颜色属性值。

```cpp
virtual System::SharedPtr<System::Object> Aspose::Page::UserProperties::SetProperty(System::String key, System::Drawing::Color value)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 键 | System::String | 属性的名称。 |
| value | System::Drawing::Color | 属性的值。 |

### ReturnValue

一个属性。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [String](../../../system/string/)
* Class [Color](../../../system.drawing/color/)
* Class [UserProperties](../)
* Namespace [Aspose::Page](../../)
* Library [Aspose.Page for C++](../../../)
## UserProperties::SetProperty(System::String, System::Drawing::Rectangle) method


设置矩形属性值。

```cpp
virtual System::SharedPtr<System::Object> Aspose::Page::UserProperties::SetProperty(System::String key, System::Drawing::Rectangle value)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 键 | System::String | 属性的名称。 |
| value | System::Drawing::Rectangle | 属性的值。 |

### ReturnValue

一个属性。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [String](../../../system/string/)
* Class [Rectangle](../../../system.drawing/rectangle/)
* Class [UserProperties](../)
* Namespace [Aspose::Page](../../)
* Library [Aspose.Page for C++](../../../)
## UserProperties::SetProperty(System::String, System::Drawing::Size) method


设置大小属性值。

```cpp
virtual System::SharedPtr<System::Object> Aspose::Page::UserProperties::SetProperty(System::String key, System::Drawing::Size value)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 键 | System::String | 属性的名称。 |
| value | System::Drawing::Size | 属性的值。 |

### ReturnValue

一个属性。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [String](../../../system/string/)
* Class [Size](../../../system.drawing/size/)
* Class [UserProperties](../)
* Namespace [Aspose::Page](../../)
* Library [Aspose.Page for C++](../../../)
## UserProperties::SetProperty(System::String, System::SharedPtr\<Margins\>) method


设置边距属性值。

```cpp
virtual System::SharedPtr<System::Object> Aspose::Page::UserProperties::SetProperty(System::String key, System::SharedPtr<Margins> value)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 键 | System::String | 属性的名称。 |
| value | System::SharedPtr\<Margins\> | 属性的值。 |

### ReturnValue

一个属性。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [String](../../../system/string/)
* Class [Margins](../../margins/)
* Class [UserProperties](../)
* Namespace [Aspose::Page](../../)
* Library [Aspose.Page for C++](../../../)
## UserProperties::SetProperty(System::String, System::SharedPtr\<System::Drawing::Drawing2D::Matrix\>) method


设置矩阵属性值。

```cpp
virtual System::SharedPtr<System::Object> Aspose::Page::UserProperties::SetProperty(System::String key, System::SharedPtr<System::Drawing::Drawing2D::Matrix> value)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 键 | System::String | 属性的名称。 |
| value | System::SharedPtr\<System::Drawing::Drawing2D::Matrix\> | 属性的值。 |

### ReturnValue

一个属性。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [String](../../../system/string/)
* Class [Matrix](../../../system.drawing.drawing2d/matrix/)
* Class [UserProperties](../)
* Namespace [Aspose::Page](../../)
* Library [Aspose.Page for C++](../../../)
## UserProperties::SetProperty(System::String, System::String) method


设置字符串属性值。

```cpp
virtual System::SharedPtr<System::Object> Aspose::Page::UserProperties::SetProperty(System::String key, System::String value)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 键 | System::String | 属性的名称。 |
| value | System::String | 属性的值。 |

### ReturnValue

一个属性。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [String](../../../system/string/)
* Class [UserProperties](../)
* Namespace [Aspose::Page](../../)
* Library [Aspose.Page for C++](../../../)
## UserProperties::SetProperty(System::SharedPtr\<System::Collections::Generic::Dictionary\<System::String, System::SharedPtr\<System::Object\>\>\>, System::String, bool) method


在指定的属性表中设置布尔属性值。

```cpp
static System::SharedPtr<System::Object> Aspose::Page::UserProperties::SetProperty(System::SharedPtr<System::Collections::Generic::Dictionary<System::String, System::SharedPtr<System::Object>>> properties, System::String key, bool value)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 属性 | System::SharedPtr\<System::Collections::Generic::Dictionary\<System::String, System::SharedPtr\<System::Object\>\>\> | 属性表。 |
| 键 | System::String | 属性的名称。 |
| value | bool | 属性的值。 |

### ReturnValue

一个属性。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [Dictionary](../../../system.collections.generic/dictionary/)
* Class [String](../../../system/string/)
* Class [UserProperties](../)
* Namespace [Aspose::Page](../../)
* Library [Aspose.Page for C++](../../../)
## UserProperties::SetProperty(System::SharedPtr\<System::Collections::Generic::Dictionary\<System::String, System::SharedPtr\<System::Object\>\>\>, System::String, double) method


在指定的属性表中设置双精度属性值。

```cpp
static System::SharedPtr<System::Object> Aspose::Page::UserProperties::SetProperty(System::SharedPtr<System::Collections::Generic::Dictionary<System::String, System::SharedPtr<System::Object>>> properties, System::String key, double value)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 属性 | System::SharedPtr\<System::Collections::Generic::Dictionary\<System::String, System::SharedPtr\<System::Object\>\>\> | 属性表。 |
| 键 | System::String | 属性的名称。 |
| value | double | 属性的值。 |

### ReturnValue

一个属性。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [Dictionary](../../../system.collections.generic/dictionary/)
* Class [String](../../../system/string/)
* Class [UserProperties](../)
* Namespace [Aspose::Page](../../)
* Library [Aspose.Page for C++](../../../)
## UserProperties::SetProperty(System::SharedPtr\<System::Collections::Generic::Dictionary\<System::String, System::SharedPtr\<System::Object\>\>\>, System::String, float) method


在指定的属性表中设置浮点属性值。

```cpp
static System::SharedPtr<System::Object> Aspose::Page::UserProperties::SetProperty(System::SharedPtr<System::Collections::Generic::Dictionary<System::String, System::SharedPtr<System::Object>>> properties, System::String key, float value)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 属性 | System::SharedPtr\<System::Collections::Generic::Dictionary\<System::String, System::SharedPtr\<System::Object\>\>\> | 属性表。 |
| 键 | System::String | 属性的名称。 |
| value | 单精度浮点数 | 属性的值。 |

### ReturnValue

一个属性。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [Dictionary](../../../system.collections.generic/dictionary/)
* Class [String](../../../system/string/)
* Class [UserProperties](../)
* Namespace [Aspose::Page](../../)
* Library [Aspose.Page for C++](../../../)
## UserProperties::SetProperty(System::SharedPtr\<System::Collections::Generic::Dictionary\<System::String, System::SharedPtr\<System::Object\>\>\>, System::String, int32_t) method


在指定的属性表中设置整数属性值。

```cpp
static System::SharedPtr<System::Object> Aspose::Page::UserProperties::SetProperty(System::SharedPtr<System::Collections::Generic::Dictionary<System::String, System::SharedPtr<System::Object>>> properties, System::String key, int32_t value)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 属性 | System::SharedPtr\<System::Collections::Generic::Dictionary\<System::String, System::SharedPtr\<System::Object\>\>\> | 属性表。 |
| 键 | System::String | 属性的名称。 |
| value | int32_t | 属性的值。 |

### ReturnValue

一个属性。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [Dictionary](../../../system.collections.generic/dictionary/)
* Class [String](../../../system/string/)
* Class [UserProperties](../)
* Namespace [Aspose::Page](../../)
* Library [Aspose.Page for C++](../../../)
## UserProperties::SetProperty(System::SharedPtr\<System::Collections::Generic::Dictionary\<System::String, System::SharedPtr\<System::Object\>\>\>, System::String, System::ArrayPtr\<System::String\>) method


在指定的属性表中设置字符串数组属性值。

```cpp
static System::SharedPtr<System::Object> Aspose::Page::UserProperties::SetProperty(System::SharedPtr<System::Collections::Generic::Dictionary<System::String, System::SharedPtr<System::Object>>> properties, System::String key, System::ArrayPtr<System::String> value)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 属性 | System::SharedPtr\<System::Collections::Generic::Dictionary\<System::String, System::SharedPtr\<System::Object\>\>\> | 属性表。 |
| 键 | System::String | 属性的名称。 |
| value | System::ArrayPtr\<System::String\> | 属性的值。 |

### ReturnValue

一个属性。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [Dictionary](../../../system.collections.generic/dictionary/)
* Class [String](../../../system/string/)
* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [UserProperties](../)
* Namespace [Aspose::Page](../../)
* Library [Aspose.Page for C++](../../../)
## UserProperties::SetProperty(System::SharedPtr\<System::Collections::Generic::Dictionary\<System::String, System::SharedPtr\<System::Object\>\>\>, System::String, System::Drawing::Color) method


在指定的属性表中设置颜色属性值。

```cpp
static System::SharedPtr<System::Object> Aspose::Page::UserProperties::SetProperty(System::SharedPtr<System::Collections::Generic::Dictionary<System::String, System::SharedPtr<System::Object>>> properties, System::String key, System::Drawing::Color value)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 属性 | System::SharedPtr\<System::Collections::Generic::Dictionary\<System::String, System::SharedPtr\<System::Object\>\>\> | 属性表。 |
| 键 | System::String | 属性的名称。 |
| value | System::Drawing::Color | 属性的值。 |

### ReturnValue

一个属性。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [Dictionary](../../../system.collections.generic/dictionary/)
* Class [String](../../../system/string/)
* Class [Color](../../../system.drawing/color/)
* Class [UserProperties](../)
* Namespace [Aspose::Page](../../)
* Library [Aspose.Page for C++](../../../)
## UserProperties::SetProperty(System::SharedPtr\<System::Collections::Generic::Dictionary\<System::String, System::SharedPtr\<System::Object\>\>\>, System::String, System::Drawing::Rectangle) method


在指定的属性表中设置矩形属性值。

```cpp
static System::SharedPtr<System::Object> Aspose::Page::UserProperties::SetProperty(System::SharedPtr<System::Collections::Generic::Dictionary<System::String, System::SharedPtr<System::Object>>> properties, System::String key, System::Drawing::Rectangle value)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 属性 | System::SharedPtr\<System::Collections::Generic::Dictionary\<System::String, System::SharedPtr\<System::Object\>\>\> | 属性表。 |
| 键 | System::String | 属性的名称。 |
| value | System::Drawing::Rectangle | 属性的值。 |

### ReturnValue

一个属性。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [Dictionary](../../../system.collections.generic/dictionary/)
* Class [String](../../../system/string/)
* Class [Rectangle](../../../system.drawing/rectangle/)
* Class [UserProperties](../)
* Namespace [Aspose::Page](../../)
* Library [Aspose.Page for C++](../../../)
## UserProperties::SetProperty(System::SharedPtr\<System::Collections::Generic::Dictionary\<System::String, System::SharedPtr\<System::Object\>\>\>, System::String, System::Drawing::Size) method


在指定的属性表中设置大小属性值。

```cpp
static System::SharedPtr<System::Object> Aspose::Page::UserProperties::SetProperty(System::SharedPtr<System::Collections::Generic::Dictionary<System::String, System::SharedPtr<System::Object>>> properties, System::String key, System::Drawing::Size value)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 属性 | System::SharedPtr\<System::Collections::Generic::Dictionary\<System::String, System::SharedPtr\<System::Object\>\>\> | 属性表。 |
| 键 | System::String | 属性的名称。 |
| value | System::Drawing::Size | 属性的值。 |

### ReturnValue

一个属性。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [Dictionary](../../../system.collections.generic/dictionary/)
* Class [String](../../../system/string/)
* Class [Size](../../../system.drawing/size/)
* Class [UserProperties](../)
* Namespace [Aspose::Page](../../)
* Library [Aspose.Page for C++](../../../)
## UserProperties::SetProperty(System::SharedPtr\<System::Collections::Generic::Dictionary\<System::String, System::SharedPtr\<System::Object\>\>\>, System::String, System::SharedPtr\<Margins\>) method


在指定的属性表中设置边距属性值。

```cpp
static System::SharedPtr<System::Object> Aspose::Page::UserProperties::SetProperty(System::SharedPtr<System::Collections::Generic::Dictionary<System::String, System::SharedPtr<System::Object>>> properties, System::String key, System::SharedPtr<Margins> value)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 属性 | System::SharedPtr\<System::Collections::Generic::Dictionary\<System::String, System::SharedPtr\<System::Object\>\>\> | 属性表。 |
| 键 | System::String | 属性的名称。 |
| value | System::SharedPtr\<Margins\> | 属性的值。 |

### ReturnValue

一个属性。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [Dictionary](../../../system.collections.generic/dictionary/)
* Class [String](../../../system/string/)
* Class [Margins](../../margins/)
* Class [UserProperties](../)
* Namespace [Aspose::Page](../../)
* Library [Aspose.Page for C++](../../../)
## UserProperties::SetProperty(System::SharedPtr\<System::Collections::Generic::Dictionary\<System::String, System::SharedPtr\<System::Object\>\>\>, System::String, System::SharedPtr\<System::Drawing::Drawing2D::Matrix\>) method


在指定的属性表中设置矩阵属性值。

```cpp
static System::SharedPtr<System::Object> Aspose::Page::UserProperties::SetProperty(System::SharedPtr<System::Collections::Generic::Dictionary<System::String, System::SharedPtr<System::Object>>> properties, System::String key, System::SharedPtr<System::Drawing::Drawing2D::Matrix> value)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 属性 | System::SharedPtr\<System::Collections::Generic::Dictionary\<System::String, System::SharedPtr\<System::Object\>\>\> | 属性表。 |
| 键 | System::String | 属性的名称。 |
| value | System::SharedPtr\<System::Drawing::Drawing2D::Matrix\> | 属性的值。 |

### ReturnValue

一个属性。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [Dictionary](../../../system.collections.generic/dictionary/)
* Class [String](../../../system/string/)
* Class [Matrix](../../../system.drawing.drawing2d/matrix/)
* Class [UserProperties](../)
* Namespace [Aspose::Page](../../)
* Library [Aspose.Page for C++](../../../)
