TXTextControl.WPF.MeasureConverter.ConvertBack Method

Converts a value from another measuring unit to twips.

Syntax

[C#]
public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture);
[Visual Basic]
Public Function ConvertBack(value As Object, targetType As Type, parameter As Object, culture As CultureInfo) As Object
Member Description
value

The value that is produced by the binding target. It must be a string or a double.

targetType

The type to convert to. It is an object of the type System.Int32 and the measuring unit is twips (1/20 point).

parameter

The converter parameter to use. This converter does not use parameter.

culture

The culture to use in the converter.

Return Value

The converted value. The method returns DependencyProperty.UnsetValue, if the conversion is not possible.

See Also