System::Drawing::Graphics::DrawString method
محتويات
[
يخفي
]Graphics::DrawString(const String&, const SharedPtr<Font>&, const SharedPtr<Brush>&, float, float, const System::SharedPtr<System::Drawing::StringFormat>&) method
يرسم السلسلة المحددة في الموقع المحدد باستخدام الخط والفرشاة المحددين.
void System::Drawing::Graphics::DrawString(const String &str, const SharedPtr<Font> &font, const SharedPtr<Brush> &brush, float x, float y, const System::SharedPtr<System::Drawing::StringFormat> &stringFormat=nullptr)
| معامل | نوع | الوصف |
|---|---|---|
| str | const String& | السلسلة المراد رسمها |
| font | const SharedPtr<Font>& | خط للاستخدام |
| brush | const SharedPtr<Brush>& | كائن Brush لاستخدامه في الرسم |
| x | float | الإحداثي X لموقع الزاوية العلوية اليسرى للسلسلة المرسومة |
| y | float | الإحداثي Y لموقع الزاوية العلوية اليسرى للسلسلة المرسومة |
| stringFormat | const System::SharedPtr<System::Drawing::StringFormat>& | تم تحديد تنسيق السلسلة |
انظر أيضًا
- Class String
- Typedef SharedPtr
- Class Font
- Class Brush
- Class StringFormat
- Class Graphics
- Namespace System::Drawing
- Library Aspose.Font for C++
Graphics::DrawString(const String&, const SharedPtr<Font>&, const SharedPtr<Brush>&, PointF, const System::SharedPtr<System::Drawing::StringFormat>&) method
يرسم السلسلة المحددة في الموقع المحدد باستخدام الخط والفرشاة المحددين.
void System::Drawing::Graphics::DrawString(const String &str, const SharedPtr<Font> &font, const SharedPtr<Brush> &brush, PointF topLeft, const System::SharedPtr<System::Drawing::StringFormat> &stringFormat=nullptr)
| معامل | نوع | الوصف |
|---|---|---|
| str | const String& | السلسلة المراد رسمها |
| font | const SharedPtr<Font>& | خط للاستخدام |
| brush | const SharedPtr<Brush>& | كائن Brush لاستخدامه في الرسم |
| topLeft | PointF | يحدد موقع الزاوية العلوية اليسرى للسلسلة المرسومة |
| stringFormat | const System::SharedPtr<System::Drawing::StringFormat>& | تم تحديد تنسيق السلسلة |
انظر أيضًا
- Class String
- Typedef SharedPtr
- Class Font
- Class Brush
- Class PointF
- Class StringFormat
- Class Graphics
- Namespace System::Drawing
- Library Aspose.Font for C++
Graphics::DrawString(const String&, const SharedPtr<Font>&, const SharedPtr<Brush>&, RectangleF, const System::SharedPtr<System::Drawing::StringFormat>&) method
يرسم السلسلة المحددة داخل المستطيل المحدد باستخدام الخط والفرشاة المحددين.
void System::Drawing::Graphics::DrawString(const String &str, const SharedPtr<Font> &font, const SharedPtr<Brush> &brush, RectangleF layoutRectangle, const System::SharedPtr<System::Drawing::StringFormat> &stringFormat=nullptr)
| معامل | نوع | الوصف |
|---|---|---|
| str | const String& | السلسلة المراد رسمها |
| font | const SharedPtr<Font>& | خط للاستخدام |
| brush | const SharedPtr<Brush>& | كائن Brush لاستخدامه في الرسم |
| layoutRectangle | RectangleF | يحدد مستطيلًا لرسم السلسلة فيه |
| stringFormat | const System::SharedPtr<System::Drawing::StringFormat>& | تم تحديد تنسيق السلسلة |
انظر أيضًا
- Class String
- Typedef SharedPtr
- Class Font
- Class Brush
- Class RectangleF
- Class StringFormat
- Class Graphics
- Namespace System::Drawing
- Library Aspose.Font for C++