## GetXml(Encoding) {#getxml}

Form XML string with recognition results as MemoryStream

```csharp
public byte[] GetXml(Encoding encoding)
```

| Parameter | Type | Description |
| --- | --- | --- |
| encoding | Encoding | Encoding with which we encode XML string |

### Return Value

Recognition result as array of bytes

### See Also

* class [RecognitionResult](../../recognitionresult)
* namespace [Aspose.OMR.Model](../../recognitionresult)
* assembly [Aspose.OMR](../../../)

---

## GetXml() {#getxml_1}

Form XML string with recognition results

```csharp
public string GetXml()
```

### Return Value

Recognition results as XML string

### See Also

* class [RecognitionResult](../../recognitionresult)
* namespace [Aspose.OMR.Model](../../recognitionresult)
* assembly [Aspose.OMR](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.OMR.dll -->
