System::Drawing::ImageConverter sınıfı
ImageConverter class
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 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 ImageConverter : public System::ComponentModel::TypeConverter
Yöntemler
| Yöntem | Açıklama |
|---|---|
| ConvertTo(const System::SharedPtr<System::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. |
| ImageConverter() | Yeni bir ImageConverter örneği oluşturur. |
Ayrıca Bakınız
- Class TypeConverter
- Namespace System::Drawing
- Library Aspose.Page for C++