System::Drawing::FontConverter sınıfı
İçindekiler
[
Saklamak
]FontConverter class
Font nesnelerini bir veri tipinden diğerine dönüştürür. Bu sınıfın nesneleri yalnızca System::MakeObject() işlevi kullanılarak tahsis edilmelidir. Bu tipin örneğini yığına (stack) veya new operatörüyle oluşturmaktan kaçının, çünkü çalışma zamanı hatalarına ve/veya doğrulama hatalarına neden olur. Bu sınıfı her zaman System::SmartPtr işaretçisine sarın ve bu işaretçiyi fonksiyonlara argüman olarak geçirin.
class FontConverter : public System::ComponentModel::TypeConverter
Yöntemler
| Yöntem | Açıklama |
|---|---|
| ConvertFrom(const System::SharedPtr<ComponentModel::ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&) override | Nesneleri dönüştürür. |
| ConvertFrom(const System::SharedPtr<System::Object>&) | Nesneleri dönüştürür. |
| virtual ConvertFrom(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&) | Nesneleri dönüştürür. |
| ConvertFrom(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::String&) | Dizgiyi nesneye dönüştürür. |
| ConvertTo(const System::SharedPtr<ComponentModel::ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&, const System::TypeInfo&) override | Nesneyi belirli bir tipe dönüştürür. |
| ConvertTo(const System::SharedPtr<System::Object>&, const System::TypeInfo&) | Nesneyi belirli bir tipe dönüştürür. |
| virtual ConvertTo(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&, const System::TypeInfo&) | Nesneyi belirli bir tipe dönüştürür. |
Ayrıca Bakınız
- Class TypeConverter
- Namespace System::Drawing
- Library Aspose.Font for C++