Generate Conditional Formatting DataBars Images
Contents
[
Hide
]
Sometimes, you need to generate images of Conditional Formatting DataBars. You can use Aspose.Cells DataBar.ToImage() method to generate these images. This article shows how to generate a DataBar image using Aspose.Cells.
The following sample code generates the DataBar image of cell C1. First, it accesses the format condition object of the cell, and then from that object, it accesses the DataBar object and uses its ToImage() method to generate the image of the cell. Finally, it saves the image on disk.