ConvertTo()
ImageFormatConverter::ConvertTo(const SharedPtr<ComponentModel::ITypeDescriptorContext>&, const SharedPtr<Globalization::CultureInfo>&, const SharedPtr<Object>&, const TypeInfo&) method
Converts object to specific type.
SharedPtr<Object> System::Drawing::ImageFormatConverter::ConvertTo(const SharedPtr<ComponentModel::ITypeDescriptorContext> &context, const SharedPtr<Globalization::CultureInfo> &culture, const SharedPtr<Object> &value, const TypeInfo &destinationType) override
Arguments
Parameter | Type | Description |
---|---|---|
context | const SharedPtr<ComponentModel::ITypeDescriptorContext>& | Object conversion context information. |
culture | const SharedPtr<Globalization::CultureInfo>& | Culture to use when converting objects. |
value | const SharedPtr<Object>& | Object to convert. |
destinationType | const TypeInfo& | Type to convert to. |
Return Value
Converted object.
See Also
- Typedef SharedPtr
- Class Object
- Class ITypeDescriptorContext
- Class CultureInfo
- Class TypeInfo
- Class ImageFormatConverter
- Namespace System::Drawing
- Library Aspose.Slides