Method GetPreferredBitmapSizeFor
GetPreferredBitmapSizeFor(AbstractControl)
Get the size that would be best to use for this ImageSet at the DPI scaling factor used by the given control.
public virtual SizeI GetPreferredBitmapSizeFor(AbstractControl control)
Parameters
control
AbstractControlControl to get DPI scaling factor from.
Returns
Remarks
This is just a convenient wrapper for GetPreferredBitmapSizeAtScale(double) calling that function with the result of ScaleFactor.