Method GetPreferredBitmapSizeAtScale
GetPreferredBitmapSizeAtScale(double)
Get the size that would be best to use for this ImageSet at the given DPI scaling factor.
public virtual SizeI GetPreferredBitmapSizeAtScale(double scale)
Parameters
scale
double
Returns
Remarks
Passing a size returned by this function to AsImage(SizeI) ensures that bitmap doesn't need to be rescaled, which typically significantly lowers its quality.