Aspose::Cells::Rendering::ImageOrPrintOptions::SetDesiredSize method

ImageOrPrintOptions::SetDesiredSize method

Sets desired width and height of image.

void Aspose::Cells::Rendering::ImageOrPrintOptions::SetDesiredSize(int32_t desiredWidth, int32_t desiredHeight, bool keepAspectRatio)
ParameterTypeDescription
desiredWidthint32_tdesired width in pixels
desiredHeightint32_tdesired height in pixels
keepAspectRatioboolwhether to keep aspect ratio of origin image

See Also