.. highlightlang:: us .. index:: FontGetWeight .. _fontgetweight: FontGetWeight ============= .. us.tag FontGetWeight ENGLISH FontGet :ref:`FontGetWeight` gets the font weight. .. function:: nWeight = FontGetWeight(hFont) .. us.return **Return Value** *nWeight* shows how "Bold" a font is. *nWeight* can be one of the following values: .. list-table:: :header-rows: 1 * - Value - Meaning * - FW_DONTCARE (0) - Lets Windows choose settings * - FW_THIN (100) - Extra Thin * - FW_EXTRALIGHT (200) - Very Thin * - FW_LIGHT (300) - Thin * - FW_NORMAL (400) - Normal * - FW_MEDIUM (500) - Medium * - FW_SEMIBOLD (600) - Half Bold * - FW_BOLD (700) - Bold * - FW_EXTRABOLD (800) - Very Bold * - FW_HEAVY (900) - Extra Bold .. us.params **Parameters** .. uparam:: hFont Identifies the font. .. seealso:: :ref:`overview-fonts`, :ref:`FontCreate`, :ref:`FontDialog`, :ref:`FontSetWeight` :sub:`id-109058`