Aspose::Cells::Charts::Chart::ToImage method. Creates the chart image and saves it to a file. The extension of the file name determines the format of the image in C++....extensions are recognized: .bmp, .gif, .png, .jpg, .jpeg, .tiff, .tif...extensions are recognized: .bmp, .gif, .png, .jpg, .jpeg, .tiff, .tif...