## TtfFont::Convert(Aspose::Font::FontType) method


Converts the [Font](../../../aspose.font/font/) into another format.

```cpp
System::SharedPtr<Font> Aspose::Font::Ttf::TtfFont::Convert(Aspose::Font::FontType fontType) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| fontType | Aspose::Font::FontType | [Font](../../../aspose.font/font/) format type to convert into. |

### ReturnValue

[Font](../../../aspose.font/font/) converted into new format.
## Remarks


Note: TTF [Font](../../../aspose.font/font/) type is now supported only. 

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Font](../../../aspose.font/font/)
* Enum [FontType](../../../aspose.font/fonttype/)
* Class [TtfFont](../)
* Namespace [Aspose::Font::Ttf](../../)
* Library [Aspose.Font for C++](../../../)
## TtfFont::Convert(Aspose::Font::FontType, System::SharedPtr\<System::Collections::Generic::ICollection\<uint32_t\>\>) method


Converts the [Font](../../../aspose.font/font/) into another format with limiting character set.

```cpp
System::SharedPtr<Font> Aspose::Font::Ttf::TtfFont::Convert(Aspose::Font::FontType fontType, System::SharedPtr<System::Collections::Generic::ICollection<uint32_t>> limitingCharacterSet)
```


| Parameter | Type | Description |
| --- | --- | --- |
| fontType | Aspose::Font::FontType | [Font](../../../aspose.font/font/) format type to convert into. |
| limitingCharacterSet | System::SharedPtr\<System::Collections::Generic::ICollection\<uint32_t\>\> | Limiting character set. |

### ReturnValue

[Font](../../../aspose.font/font/) converted into new format.
## Remarks


Note: TTF [Font](../../../aspose.font/font/) type is now supported only. 

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Font](../../../aspose.font/font/)
* Enum [FontType](../../../aspose.font/fonttype/)
* Class [ICollection](../../../system.collections.generic/icollection/)
* Class [TtfFont](../)
* Namespace [Aspose::Font::Ttf](../../)
* Library [Aspose.Font for C++](../../../)
