System::Drawing::FontConverter فئة
محتويات
[
يخفي
]FontConverter class
يقوم بتحويل كائنات Font من نوع بيانات إلى آخر. يجب تخصيص كائنات هذه الفئة فقط باستخدام الدالة System::MakeObject(). لا تقم بإنشاء مثال من هذا النوع على المكدس أو باستخدام المشغل new، حيث سيتسبب ذلك في أخطاء وقت التشغيل أو أعطال التأكيد. احرص دائمًا على تغليف هذه الفئة في مؤشر System::SmartPtr واستخدام هذا المؤشر لتمريره إلى الدوال كمعامل.
class FontConverter : public System::ComponentModel::TypeConverter
الطرق
| طريقة | الوصف |
|---|---|
| ConvertFrom(const System::SharedPtr<ComponentModel::ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&) override | يقوم بتحويل الكائنات. |
| ConvertFrom(const System::SharedPtr<System::Object>&) | يقوم بتحويل الكائنات. |
| virtual ConvertFrom(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&) | يقوم بتحويل الكائنات. |
| ConvertFrom(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::String&) | يقوم بتحويل السلسلة إلى كائن. |
| ConvertTo(const System::SharedPtr<ComponentModel::ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&, const System::TypeInfo&) override | يقوم بتحويل الكائن إلى نوع محدد. |
| ConvertTo(const System::SharedPtr<System::Object>&, const System::TypeInfo&) | يقوم بتحويل الكائن إلى نوع محدد. |
| virtual ConvertTo(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&, const System::TypeInfo&) | يقوم بتحويل الكائن إلى نوع محدد. |
انظر أيضًا
- Class TypeConverter
- Namespace System::Drawing
- Library Aspose.Page for C++