
## ToImage function

Render data bar in cell to image byte array.

```go

func (instance *DataBar) ToImage(cell *Cell, imgopts *ImageOrPrintOptions)  ([]byte,  error) 

```

## Remarks


## See Also

* Class [DataBar](../)
* Library [Aspose.Cells for Go](../../)
