GetFontSize method


Available for all objects except Image, HScroll, VScroll, ProgressBar, Slider, UpDown and Animate.

Prototype

GetFontSize Proto hWnd:HWND

Syntax

Invoke GetFontSize, hWnd

Function

Gets the font size for an object.

Parameters

hWnd

Handle to the object.

Return value

Eax/Rax returns the current font size, in points, for the object.