Method GetPreferredBitmapSizeFor
GetPreferredBitmapSizeFor(Control)
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(Control control)
Parameters
control
ControlControl 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.