## GetPropertyFloat(string) {#getpropertyfloat}

Gets float property value.

```csharp
public virtual float GetPropertyFloat(string key)
```

| Parameter | Type | Description |
| --- | --- | --- |
| key | String | The name of property. |

### Return Value

Property value.

### See Also

* class [UserProperties](../)
* namespace [Aspose.Page](../../userproperties/)
* assembly [Aspose.Page](../../../)

---

## GetPropertyFloat(string, float) {#getpropertyfloat_1}

Gets float property value. If requested property is absent, returns provided default value.

```csharp
public virtual float GetPropertyFloat(string key, float defValue)
```

| Parameter | Type | Description |
| --- | --- | --- |
| key | String | The name of property. |
| defValue | Single | Default value of property. |

### Return Value

Property value.

### See Also

* class [UserProperties](../)
* namespace [Aspose.Page](../../userproperties/)
* assembly [Aspose.Page](../../../)


