System::Drawing::ImageFormatConverter sınıfı

ImageFormatConverter class

ImageFormat 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 ImageFormatConverter : public System::ComponentModel::TypeConverter

Yöntemler

YöntemAçıklama
ConvertFrom(const SharedPtr<ComponentModel::ITypeDescriptorContext>&, const SharedPtr<Globalization::CultureInfo>&, const SharedPtr<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&)Dizgiyi nesneye dönüştürür.
ConvertTo(const SharedPtr<ComponentModel::ITypeDescriptorContext>&, const SharedPtr<Globalization::CultureInfo>&, const SharedPtr<Object>&, const 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.
ImageFormatConverter()Yeni bir ImageFormatConverter örneği oluşturur.

Ayrıca Bakınız