System::Drawing::ImageConverter sınıfı

ImageConverter class

Converts Image 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 ImageConverter : public System::ComponentModel::TypeConverter

Yöntemler

YöntemAçıklama
ConvertTo(const System::SharedPtr<System::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.
ImageConverter()Yeni bir ImageConverter örneği oluşturur.

Ayrıca Bakınız