## Font::GetCapsType method


Gets and sets the text caps type.


>Deprecated
>
>Use TextOptions.CapsType property instead. 
```cpp
TextCapsType Aspose::Cells::Font::GetCapsType()
```

## Remarks


Only for the fonts of Shapes or [Charts](../../../aspose.cells.charts/). NOTE: This member is now obsolete. Instead, please use TextOptions.CapsType property. This property will be removed 12 months later since January 2026. **Aspose** apologizes for any inconvenience you may have experienced.


## See Also

* Enum [TextCapsType](../../textcapstype/)
* Class [Font](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
