System::Drawing::FontConverter::ConvertTo method

FontConverter::ConvertTo method

Converts object to specific type.

System::SharedPtr<System::Object> System::Drawing::FontConverter::ConvertTo(const System::SharedPtr<ComponentModel::ITypeDescriptorContext> &context, const System::SharedPtr<System::Globalization::CultureInfo> &culture, const System::SharedPtr<System::Object> &value, const System::TypeInfo &destinationType) override
ParameterTypeDescription
contextconst System::SharedPtr<ComponentModel::ITypeDescriptorContext>&Object conversion context information.
cultureconst System::SharedPtr<System::Globalization::CultureInfo>&Culture to use when converting objects.
valueconst System::SharedPtr<System::Object>&An object to convert.
destinationTypeconst System::TypeInfo&Type to convert to.

ReturnValue

Converted object.

See Also