Method GetDefaultScrollWheelDelta
GetDefaultScrollWheelDelta(Graphics, Font, bool)
Gets default value used to offset scrollbar position when scroll wheel event is handled.
public static int GetDefaultScrollWheelDelta(Graphics measureCanvas, Font font, bool isVert)
Parameters
measureCanvasGraphicsThe canvas used for text measuring.
fontFontThe font used for text measuring.
isVertboolWhether to get value for the vertical of horizontal scrollbar.