## GraphicsPath::AddString(const String\&, const SharedPtr\<FontFamily\>\&, int, float, Point, const SharedPtr\<StringFormat\>\&) method


Aggiunge una stringa di testo al percorso rappresentato dall'oggetto corrente.

```cpp
void System::Drawing::Drawing2D::GraphicsPath::AddString(const String &text, const SharedPtr<FontFamily> &family, int style, float emSize, Point origin, const SharedPtr<StringFormat> &stringFormat)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| text | const String\& | Il testo da aggiungere |
| famiglia | const SharedPtr\<FontFamily\>\& | La famiglia di caratteri utilizzata per disegnare il testo |
| style | int | Un valore di enumerazione [FontStyle](../../../system.drawing/fontstyle/) che specifica lo stile del carattere da utilizzare |
| emSize | float | L'altezza della casella quadrata em che delimita ogni carattere della stringa |
| origin | Punto | Specifica la posizione in cui inizia il testo |
| stringFormat | const SharedPtr\<StringFormat\>\& | Il formato della stringa |

## Vedi anche

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [FontFamily](../../../system.drawing/fontfamily/)
* Class [Point](../../../system.drawing/point/)
* Class [StringFormat](../../../system.drawing/stringformat/)
* Class [GraphicsPath](../)
* Namespace [System::Drawing::Drawing2D](../../)
* Library [Aspose.Page for C++](../../../)
## GraphicsPath::AddString(const String\&, const SharedPtr\<FontFamily\>\&, int, float, PointF, const SharedPtr\<StringFormat\>\&) method


Aggiunge una stringa di testo al percorso rappresentato dall'oggetto corrente.

```cpp
void System::Drawing::Drawing2D::GraphicsPath::AddString(const String &text, const SharedPtr<FontFamily> &family, int style, float emSize, PointF origin, const SharedPtr<StringFormat> &stringFormat)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| text | const String\& | Il testo da aggiungere |
| famiglia | const SharedPtr\<FontFamily\>\& | La famiglia di caratteri utilizzata per disegnare il testo |
| style | int | Un valore di enumerazione [FontStyle](../../../system.drawing/fontstyle/) che specifica lo stile del carattere da utilizzare |
| emSize | float | L'altezza della casella quadrata em che delimita ogni carattere della stringa |
| origin | PointF | Specifica la posizione in cui inizia il testo |
| stringFormat | const SharedPtr\<StringFormat\>\& | Il formato della stringa |

## Vedi anche

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [FontFamily](../../../system.drawing/fontfamily/)
* Class [PointF](../../../system.drawing/pointf/)
* Class [StringFormat](../../../system.drawing/stringformat/)
* Class [GraphicsPath](../)
* Namespace [System::Drawing::Drawing2D](../../)
* Library [Aspose.Page for C++](../../../)
## GraphicsPath::AddString(const String\&, const SharedPtr\<FontFamily\>\&, int, float, Rectangle, const SharedPtr\<StringFormat\>\&) method


Aggiunge una stringa di testo al percorso rappresentato dall'oggetto corrente.

```cpp
void System::Drawing::Drawing2D::GraphicsPath::AddString(const String &text, const SharedPtr<FontFamily> &family, int style, float emSize, Rectangle layoutRect, const SharedPtr<StringFormat> &stringFormat)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| text | const String\& | Il testo da aggiungere |
| famiglia | const SharedPtr\<FontFamily\>\& | La famiglia di caratteri utilizzata per disegnare il testo |
| style | int | Un valore di enumerazione [FontStyle](../../../system.drawing/fontstyle/) che specifica lo stile del carattere da utilizzare |
| emSize | float | L'altezza della casella quadrata em che delimita ogni carattere della stringa |
| layoutRect | Rettangolo | Un rettangolo che delimita il testo |
| stringFormat | const SharedPtr\<StringFormat\>\& | Il formato della stringa |

## Vedi anche

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [FontFamily](../../../system.drawing/fontfamily/)
* Class [Rectangle](../../../system.drawing/rectangle/)
* Class [StringFormat](../../../system.drawing/stringformat/)
* Class [GraphicsPath](../)
* Namespace [System::Drawing::Drawing2D](../../)
* Library [Aspose.Page for C++](../../../)
## GraphicsPath::AddString(const String\&, const SharedPtr\<FontFamily\>\&, int, float, RectangleF, const SharedPtr\<StringFormat\>\&) method


Aggiunge una stringa di testo al percorso rappresentato dall'oggetto corrente.

```cpp
void System::Drawing::Drawing2D::GraphicsPath::AddString(const String &text, const SharedPtr<FontFamily> &family, int style, float emSize, RectangleF layoutRect, const SharedPtr<StringFormat> &stringFormat)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| text | const String\& | Il testo da aggiungere |
| famiglia | const SharedPtr\<FontFamily\>\& | La famiglia di caratteri utilizzata per disegnare il testo |
| style | int | Un valore di enumerazione [FontStyle](../../../system.drawing/fontstyle/) che specifica lo stile del carattere da utilizzare |
| emSize | float | L'altezza della casella quadrata em che delimita ogni carattere della stringa |
| layoutRect | RectangleF | Un rettangolo che delimita il testo |
| stringFormat | const SharedPtr\<StringFormat\>\& | Il formato della stringa |

## Vedi anche

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [FontFamily](../../../system.drawing/fontfamily/)
* Class [RectangleF](../../../system.drawing/rectanglef/)
* Class [StringFormat](../../../system.drawing/stringformat/)
* Class [GraphicsPath](../)
* Namespace [System::Drawing::Drawing2D](../../)
* Library [Aspose.Page for C++](../../../)
