# MeasureConverter.ConvertBack Method

> Converts a value from another measuring unit to twips.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 16.0
- **Namespace:** `TXTextControl.WPF`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.WPF.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.WPF.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.WPF > MeasureConverter.ConvertBack Method
- **654 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/measureconverter/convertback-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/measureconverter/convertback-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/measureconverter/convertback-method/llms-full.txt

---

### Description

Converts a value from another measuring unit to twips.

### Syntax

```csharp
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture);
```

```vbnet
Public Function ConvertBack(value As Object, targetType As Type, parameter As Object, culture As CultureInfo) As Object
```

### Parameters

| Parameter | 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.

### Examples

The following example uses Convert Back in a focused Measure Converter workflow.

```csharp
var result = measureConverter.ConvertBack("Approved", typeof(object), "Approved", System.Globalization.CultureInfo.GetCultureInfo("en-US"));
Console.WriteLine($"Convert Back result: {result}");
```

```vbnet
Dim result = measureConverter.ConvertBack("Approved", GetType(Object), "Approved", System.Globalization.CultureInfo.GetCultureInfo("en-US"))
Console.WriteLine($"Convert Back result: {result}")
```

---

## Nearby

- **Previous:** [MeasureConverter.Convert Method](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/measureconverter/convert-method/llms-full.txt)
- **Next:** [MeasureConverter.Decimals Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/measureconverter/decimals-property/llms-full.txt)
