Aspose.Cell for C++ converting to png failed

image.png (5.5 KB)

@Queena_Zhao,
Please use SetImageType() method.

@Queena_Zhao
Please use the following code:

	intrusive_ptr<Aspose::Cells::Rendering::IImageOrPrintOptions> imageopt = Factory::CreateIImageOrPrintOptions();
	imageopt->SetImageType(Aspose::Cells::Drawing::ImageType::ImageType_Png);

Please refer to the API reference. Thanks!