## FontSettingCollection::Format method


Format the text with font setting.

```cpp
void Aspose::Cells::Drawing::Texts::FontSettingCollection::Format(int32_t startIndex, int32_t length, const Aspose::Cells::Font &font, const StyleFlag &flag)
```


| Parameter | Type | Description |
| --- | --- | --- |
| startIndex | int32_t | The start index. |
| length | int32_t | The length. |
| font | const Aspose::Cells::Font\& | The font. |
| flag | const StyleFlag\& | The flags of the font. |

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [Font](../../../aspose.cells/font/)
* Class [StyleFlag](../../../aspose.cells/styleflag/)
* Class [FontSettingCollection](../)
* Namespace [Aspose::Cells::Drawing::Texts](../../)
* Library [Aspose.Cells for C++](../../../)
