## BarcodeGenerator::ExportToXml(System::String) method


Exports [BarCode](../../../aspose.barcode/) properties to the xml-file specified

```cpp
bool Aspose::BarCode::Generation::BarcodeGenerator::ExportToXml(System::String xmlFile)
```


| Parameter | Type | Description |
| --- | --- | --- |
| xmlFile | System::String | The name for the file |

### ReturnValue

Whether or not export completed successfully. 

Returns **True** in case of success; **False** Otherwise

## See Also

* Class [BarcodeGenerator](../)
* Namespace [Aspose::BarCode::Generation](../../)
* Library [Aspose.BarCode for C++](../../../)
## BarcodeGenerator::ExportToXml(System::SharedPtr\<System::IO::Stream\>) method


Exports [BarCode](../../../aspose.barcode/) properties to the xml-stream specified

```cpp
bool Aspose::BarCode::Generation::BarcodeGenerator::ExportToXml(System::SharedPtr<System::IO::Stream> xml)
```


| Parameter | Type | Description |
| --- | --- | --- |
| xml | System::SharedPtr\<System::IO::Stream\> | The xml-stream |

### ReturnValue

Whether or not export completed successfully. 

Returns **True** in case of success; **False** Otherwise

## See Also

* Class [BarcodeGenerator](../)
* Namespace [Aspose::BarCode::Generation](../../)
* Library [Aspose.BarCode for C++](../../../)
