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)
Parameter | Type | Description |
---|---|---|
desiredWidth | int32_t | desired width in pixels |
desiredHeight | int32_t | desired height in pixels |
keepAspectRatio | bool | whether to keep aspect ratio of origin image |
See Also
- Class Vector
- Class ImageOrPrintOptions
- Namespace Aspose::Cells::Rendering
- Library Aspose.Cells for C++