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


يضيف سلسلة نصية إلى المسار الممثل بواسطة الكائن الحالي.

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| text | const String\& | النص للإضافة |
| العائلة | const SharedPtr\<FontFamily\>\& | عائلة الخط المستخدمة لرسم النص |
| style | int | قيمة تعداد [FontStyle](../../../system.drawing/fontstyle/) التي تحدد نمط الخط للاستخدام |
| emSize | عدد عائم | ارتفاع صندوق المربع em الذي يحد كل حرف من السلسلة |
| origin | Point | يحدد الموقع الذي يبدأ فيه النص |
| stringFormat | const SharedPtr\<StringFormat\>\& | تنسيق السلسلة |

## انظر أيضًا

* 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


يضيف سلسلة نصية إلى المسار الممثل بواسطة الكائن الحالي.

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| text | const String\& | النص للإضافة |
| العائلة | const SharedPtr\<FontFamily\>\& | عائلة الخط المستخدمة لرسم النص |
| style | int | قيمة تعداد [FontStyle](../../../system.drawing/fontstyle/) التي تحدد نمط الخط للاستخدام |
| emSize | عدد عائم | ارتفاع صندوق المربع em الذي يحد كل حرف من السلسلة |
| origin | PointF | يحدد الموقع الذي يبدأ فيه النص |
| stringFormat | const SharedPtr\<StringFormat\>\& | تنسيق السلسلة |

## انظر أيضًا

* 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


يضيف سلسلة نصية إلى المسار الممثل بواسطة الكائن الحالي.

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| text | const String\& | النص للإضافة |
| العائلة | const SharedPtr\<FontFamily\>\& | عائلة الخط المستخدمة لرسم النص |
| style | int | قيمة تعداد [FontStyle](../../../system.drawing/fontstyle/) التي تحدد نمط الخط للاستخدام |
| emSize | عدد عائم | ارتفاع صندوق المربع em الذي يحد كل حرف من السلسلة |
| layoutRect | مستطيل | مستطيل يحد النص |
| stringFormat | const SharedPtr\<StringFormat\>\& | تنسيق السلسلة |

## انظر أيضًا

* 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


يضيف سلسلة نصية إلى المسار الممثل بواسطة الكائن الحالي.

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| text | const String\& | النص للإضافة |
| العائلة | const SharedPtr\<FontFamily\>\& | عائلة الخط المستخدمة لرسم النص |
| style | int | قيمة تعداد [FontStyle](../../../system.drawing/fontstyle/) التي تحدد نمط الخط للاستخدام |
| emSize | عدد عائم | ارتفاع صندوق المربع em الذي يحد كل حرف من السلسلة |
| layoutRect | RectangleF | مستطيل يحد النص |
| stringFormat | const SharedPtr\<StringFormat\>\& | تنسيق السلسلة |

## انظر أيضًا

* 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++](../../../)
