public static Generate ( Image image, int thumbWidth, int thumbHeight, ImageScaleMode mode, Color backgroundColor, float xDPI, float yDPI ) : Image | ||
image | Image | /// Image object to generate thumbnail for (required) |
thumbWidth | int | /// Thumbnail width. If 0, width is calculated by source aspect ratio. Only one of /// width or height can be zero. |
thumbHeight | int | /// Thumbnail height. If 0, height is calculated by source aspect ratio. Only one of /// width or height can be zero. |
mode | ImageScaleMode |
/// Thumbnail generation mode. It is only important when both dimensions are specified and
/// source aspect ratio is different than thumbnail (see |
backgroundColor | Color | /// Specifies fill color for PreserveRatioWithFill mode. |
xDPI | float | |
yDPI | float | |
Результат | Image |