---
title: "StringFormatExtensions.ToGdiStringFormat"
url: "https://reference.aspose.com/psd/net/aspose.psd.extensions/stringformatextensions/togdistringformat/"
product: "Aspose.PSD for .NET API Reference"
description: "StringFormatExtensions method. Converts the StringFormat to the StringFormat"
---

{{< psd/tize >}}
## StringFormatExtensions.ToGdiStringFormat method

Converts the [`StringFormat`](../../../aspose.psd/stringformat/) to the StringFormat.

```csharp
public static StringFormat ToGdiStringFormat(StringFormat stringFormat)
```

| Parameter | Type | Description |
| --- | --- | --- |
| stringFormat | StringFormat | The [`StringFormat`](../../../aspose.psd/stringformat/) to convert. |

### Return Value

The converted StringFormat.

### See Also

* class [StringFormat](../../../aspose.psd/stringformat/)
* class [StringFormatExtensions](../)
* namespace [Aspose.PSD.Extensions](../../../aspose.psd.extensions/)
* assembly [Aspose.PSD](../../../)


