System::Drawing::FontConverter sınıfı

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 ayrılmalıdır. Bu tür bir örneği yığına (stack) ya da operator new ile oluşturmayın, çünkü çalışma zamanı hatalarına ve/veya doğrulama hatalarına yol açar. 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öntemAçıklama
ConvertFrom(const System::SharedPtr<ComponentModel::ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&) overrideNesneleri 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&)Dizeyi 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&) overrideNesneyi 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