PyCDC.GetTextMetrics
dict = GetTextMetrics()
Retrieves the metrics for the current font in this device context.
MFC References
Return Value
A dictionary of integers, keyed by the following strings:tmHeight
tmAscent
tmDescent
tmInternalLeading
tmExternalLeading
tmAveCharWidth
tmMaxCharWidth
tmWeight
tmItalic
tmUnderlined
tmStruckOut
tmFirstChar
tmLastChar
tmDefaultChar
tmBreakChar
tmPitchAndFamily
tmCharSet
tmOverhang
tmDigitizedAspectX
tmDigitizedAspectY