
## to_image(self, cell, img_opts) {#aspose.cells.Cell-aspose.cells.rendering.ImageOrPrintOptions}

Render data bar in cell to image byte array.


### Returns 





```python

def to_image(self, cell, img_opts):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| cell | aspose.cells.Cell | Indicate the data bar in which cell to be rendered |
| img_opts | aspose.cells.rendering.ImageOrPrintOptions | ImageOrPrintOptions contains some property of output image |



### See Also
* module [`aspose.cells`](../../)
* class [`DataBar`](/cells/python-net/aspose.cells/databar)
