Class AspectRatioConverter
Converts from a string to an aspect ratio. For more information AspectRatio.
Inheritance
System.Object
AspectRatioConverter
Namespace: Telerik.XamarinForms.ImageEditor
Assembly: Telerik.XamarinForms.ImageEditor.dll
Syntax
public class AspectRatioConverter : TypeConverter
Constructors
AspectRatioConverter()
Declaration
public AspectRatioConverter()
Methods
ConvertFromInvariantString(String)
Converts the specified string to an aspect ratio.
Declaration
public override object ConvertFromInvariantString(string value)
Parameters
System.String
value
Specifies the input string for the conversion. |
Returns
System.Object
The converted aspect ratio on success or a default aspect ratio on failure. |