System::Drawing::ImageFormatConverter Klasse

ImageFormatConverter class

Konvertiert ImageFormat-Objekte von einem Datentyp in einen anderen. Objekte dieser Klasse sollten nur mit der Funktion System::MakeObject() alloziert werden. Erzeugen Sie niemals eine Instanz dieses Typs auf dem Stack oder mit dem Operator new, da dies zu Laufzeitfehlern und/oder Assertionsfehlern führt. Wickeln Sie diese Klasse stets in einen System::SmartPtr Zeiger ein und verwenden Sie diesen Zeiger, um ihn als Argument an Funktionen zu übergeben.

class ImageFormatConverter : public System::ComponentModel::TypeConverter

Methoden

MethodeBeschreibung
ConvertFrom(const SharedPtr<ComponentModel::ITypeDescriptorContext>&, const SharedPtr<Globalization::CultureInfo>&, const SharedPtr<Object>&) overrideKonvertiert Objekte.
ConvertFrom(const System::SharedPtr<System::Object>&)Konvertiert Objekte.
virtual ConvertFrom(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&)Konvertiert Objekte.
ConvertFrom(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::String&)Konvertiert Zeichenkette in Objekt.
ConvertTo(const SharedPtr<ComponentModel::ITypeDescriptorContext>&, const SharedPtr<Globalization::CultureInfo>&, const SharedPtr<Object>&, const TypeInfo&) overrideKonvertiert ein Objekt in einen spezifischen Typ.
ConvertTo(const System::SharedPtr<System::Object>&, const System::TypeInfo&)Konvertiert ein Objekt in einen spezifischen Typ.
virtual ConvertTo(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&, const System::TypeInfo&)Konvertiert ein Objekt in einen spezifischen Typ.
ImageFormatConverter()Erstellt eine neue Instanz von ImageFormatConverter.

Siehe auch