Generate Conditional Formatting DataBars Images

Contents
[ ]

The following sample code generates the DataBar image of cell C1. First, it accesses the format‑condition object of the cell; then, from that object, it accesses the DataBar object and uses its DataBar.toImage(Cell, ImageOrPrintOptions) method to generate the cell’s image. Finally, it saves the image to disk.