## PsDocument::FillText(System::String, System::ArrayPtr\<float\>, System::SharedPtr\<Aspose::Page::Font::DrFont\>, float, float) method


Adds a text string by filling interrior of glyphs.

```cpp
void Aspose::Page::EPS::PsDocument::FillText(System::String text, System::ArrayPtr<float> advances, System::SharedPtr<Aspose::Page::Font::DrFont> drFont, float x, float y)
```


| Parameter | Type | Description |
| --- | --- | --- |
| text | System::String | The text to add. |
| advances | System::ArrayPtr\<float\> | An array of glyphs width. It's length must comply with the number of glyphs in the string. |
| drFont | System::SharedPtr\<Aspose::Page::Font::DrFont\> | [DrFont](../) that will be used to draw text. It can be used with custom font that is located in custom folder. |
| x | float | X coordinate for text origin. |
| y | float | Y coordinate for text origin. |

## See Also

* Class [String](../../../system/string/)
* Typedef [ArrayPtr](../../../system/arrayptr/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [DrFont](../../../aspose.page.font/drfont/)
* Class [PsDocument](../)
* Namespace [Aspose::Page::EPS](../../)
* Library [Aspose.Page for C++](../../../)
## PsDocument::FillText(System::String, System::ArrayPtr\<float\>, System::SharedPtr\<Aspose::Page::Font::DrFont\>, float, float, System::SharedPtr\<System::Drawing::Brush\>) method


Adds a text string by filling interrior of glyphs.

```cpp
void Aspose::Page::EPS::PsDocument::FillText(System::String text, System::ArrayPtr<float> advances, System::SharedPtr<Aspose::Page::Font::DrFont> drFont, float x, float y, System::SharedPtr<System::Drawing::Brush> fill)
```


| Parameter | Type | Description |
| --- | --- | --- |
| text | System::String | The text to add. |
| advances | System::ArrayPtr\<float\> | An array of glyphs width. It's length must comply with the number of glyphs in the string. |
| drFont | System::SharedPtr\<Aspose::Page::Font::DrFont\> | [DrFont](../) that will be used to draw text. It can be used with custom font that is located in custom folder. |
| x | float | X coordinate for text origin. |
| y | float | Y coordinate for text origin. |
| fill | System::SharedPtr\<System::Drawing::Brush\> | The fill used for painting glyphs. |
## Remarks



/// 
## See Also

* Class [String](../../../system/string/)
* Typedef [ArrayPtr](../../../system/arrayptr/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [DrFont](../../../aspose.page.font/drfont/)
* Class [Brush](../../../system.drawing/brush/)
* Class [PsDocument](../)
* Namespace [Aspose::Page::EPS](../../)
* Library [Aspose.Page for C++](../../../)
## PsDocument::FillText(System::String, System::ArrayPtr\<float\>, System::SharedPtr\<System::Drawing::Font\>, float, float) method


Adds a text string by filling interrior of glyphs.

```cpp
void Aspose::Page::EPS::PsDocument::FillText(System::String text, System::ArrayPtr<float> advances, System::SharedPtr<System::Drawing::Font> font, float x, float y)
```


| Parameter | Type | Description |
| --- | --- | --- |
| text | System::String | The text to add. |
| advances | System::ArrayPtr\<float\> | An array of glyphs width. It's length must comply with the number of glyphs in the string. |
| font | System::SharedPtr\<System::Drawing::Font\> | The font that will be used to draw text. |
| x | float | X coordinate for text origin. |
| y | float | Y coordinate for text origin. |

## See Also

* Class [String](../../../system/string/)
* Typedef [ArrayPtr](../../../system/arrayptr/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Font](../../../system.drawing/font/)
* Class [PsDocument](../)
* Namespace [Aspose::Page::EPS](../../)
* Library [Aspose.Page for C++](../../../)
## PsDocument::FillText(System::String, System::ArrayPtr\<float\>, System::SharedPtr\<System::Drawing::Font\>, float, float, System::SharedPtr\<System::Drawing::Brush\>) method


Adds a text string by filling interrior of glyphs.

```cpp
void Aspose::Page::EPS::PsDocument::FillText(System::String text, System::ArrayPtr<float> advances, System::SharedPtr<System::Drawing::Font> font, float x, float y, System::SharedPtr<System::Drawing::Brush> fill)
```


| Parameter | Type | Description |
| --- | --- | --- |
| text | System::String | The text to add. |
| advances | System::ArrayPtr\<float\> | An array of glyphs width. It's length must comply with the number of glyphs in the string. |
| font | System::SharedPtr\<System::Drawing::Font\> | [System](../../../system/) font that will be used to draw text. |
| x | float | X coordinate for text origin. |
| y | float | Y coordinate for text origin. |
| fill | System::SharedPtr\<System::Drawing::Brush\> | The fill used for painting glyphs. |

## See Also

* Class [String](../../../system/string/)
* Typedef [ArrayPtr](../../../system/arrayptr/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Font](../../../system.drawing/font/)
* Class [Brush](../../../system.drawing/brush/)
* Class [PsDocument](../)
* Namespace [Aspose::Page::EPS](../../)
* Library [Aspose.Page for C++](../../../)
## PsDocument::FillText(System::String, System::SharedPtr\<Aspose::Page::Font::DrFont\>, float, float) method


Adds a text string by filling interrior of glyphs.

```cpp
void Aspose::Page::EPS::PsDocument::FillText(System::String text, System::SharedPtr<Aspose::Page::Font::DrFont> drFont, float x, float y)
```


| Parameter | Type | Description |
| --- | --- | --- |
| text | System::String | The text to add. |
| drFont | System::SharedPtr\<Aspose::Page::Font::DrFont\> | [DrFont](../) that will be used to draw text. It can be used with custom font that is located in custom folder. |
| x | float | X coordinate for text origin. |
| y | float | Y coordinate for text origin. |

## See Also

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [DrFont](../../../aspose.page.font/drfont/)
* Class [PsDocument](../)
* Namespace [Aspose::Page::EPS](../../)
* Library [Aspose.Page for C++](../../../)
## PsDocument::FillText(System::String, System::SharedPtr\<Aspose::Page::Font::DrFont\>, float, float, System::SharedPtr\<System::Drawing::Brush\>) method


Adds a text string by filling interrior of glyphs.

```cpp
void Aspose::Page::EPS::PsDocument::FillText(System::String text, System::SharedPtr<Aspose::Page::Font::DrFont> drFont, float x, float y, System::SharedPtr<System::Drawing::Brush> fill)
```


| Parameter | Type | Description |
| --- | --- | --- |
| text | System::String | The text to add. |
| drFont | System::SharedPtr\<Aspose::Page::Font::DrFont\> | [DrFont](../) that will be used to draw text. It can be used with custom font that is located in custom folder. |
| x | float | X coordinate for text origin. |
| y | float | Y coordinate for text origin. |
| fill | System::SharedPtr\<System::Drawing::Brush\> | The fill used for painting glyphs. |

## See Also

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [DrFont](../../../aspose.page.font/drfont/)
* Class [Brush](../../../system.drawing/brush/)
* Class [PsDocument](../)
* Namespace [Aspose::Page::EPS](../../)
* Library [Aspose.Page for C++](../../../)
## PsDocument::FillText(System::String, System::SharedPtr\<System::Drawing::Font\>, float, float) method


Adds a text string by filling interrior of glyphs.

```cpp
void Aspose::Page::EPS::PsDocument::FillText(System::String text, System::SharedPtr<System::Drawing::Font> font, float x, float y)
```


| Parameter | Type | Description |
| --- | --- | --- |
| text | System::String | The text to add. |
| font | System::SharedPtr\<System::Drawing::Font\> | [System](../../../system/) font that will be used to draw text. |
| x | float | X coordinate for text origin. |
| y | float | Y coordinate for text origin. |

## See Also

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Font](../../../system.drawing/font/)
* Class [PsDocument](../)
* Namespace [Aspose::Page::EPS](../../)
* Library [Aspose.Page for C++](../../../)
## PsDocument::FillText(System::String, System::SharedPtr\<System::Drawing::Font\>, float, float, System::SharedPtr\<System::Drawing::Brush\>) method


Adds a text string by filling interrior of glyphs.

```cpp
void Aspose::Page::EPS::PsDocument::FillText(System::String text, System::SharedPtr<System::Drawing::Font> font, float x, float y, System::SharedPtr<System::Drawing::Brush> fill)
```


| Parameter | Type | Description |
| --- | --- | --- |
| text | System::String | The text to add. |
| font | System::SharedPtr\<System::Drawing::Font\> | [System](../../../system/) font that will be used to draw text. |
| x | float | X coordinate for text origin. |
| y | float | Y coordinate for text origin. |
| fill | System::SharedPtr\<System::Drawing::Brush\> | The fill used for painting glyphs. |

## See Also

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Font](../../../system.drawing/font/)
* Class [Brush](../../../system.drawing/brush/)
* Class [PsDocument](../)
* Namespace [Aspose::Page::EPS](../../)
* Library [Aspose.Page for C++](../../../)
