Getting a Variable not defined: glngHeight

Public Function GetFontSize,
@ line, If glngHeight <> 0 Then lngHeight = glngHeight