Method GetDefaultImageSize
GetDefaultImageSize(double)
Returns suggested toolbar image size depending on the given DPI value.
public static int GetDefaultImageSize(double deviceDpi)
Parameters
deviceDpi
doubleDPI for which default image size is returned.
Returns
GetDefaultImageSize(Control?)
Returns suggested toolbar image size in pixels depending on the given DPI value.
public static SizeI GetDefaultImageSize(Control? control = null)
Parameters
Returns
GetDefaultImageSize(SizeD)
Returns suggested toolbar image size depending on the given DPI value.
public static SizeI GetDefaultImageSize(SizeD deviceDpi)
Parameters
deviceDpi
SizeDDPI for which default image size is returned.