## DataBar::ToImage method


Render data bar in cell to image byte array.

```cpp
Vector<uint8_t> Aspose::Cells::DataBar::ToImage(const Cell &cell, const ImageOrPrintOptions &imgOpts)
```


| Parameter | Type | Description |
| --- | --- | --- |
| cell | const Cell\& | Indicate the data bar in which cell to be rendered |
| imgOpts | const ImageOrPrintOptions\& | ImageOrPrintOptions contains some property of output image |

## ReturnValue



## See Also

* Class [Vector](../../vector/)
* Class [Cell](../../cell/)
* Class [ImageOrPrintOptions](../../../aspose.cells.rendering/imageorprintoptions/)
* Class [DataBar](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
