.. highlightlang:: us .. index:: FontGetPitchAndFamily .. _fontgetpitchandfamily: FontGetPitchAndFamily ===================== .. us.tag FontGetPitchAndFamily ENGLISH FontGet :ref:`FontGetPitchAndFamily` gets the font pitch and family. .. function:: rsPitchAndFamily = FontGetPitchAndFamily(hFont) .. us.return **Return Value** *rsPitchAndFamily* specifies the pitch and family of the font. It can be one of the following values: .. list-table:: :header-rows: 1 * - Value - Meaning * - DEFAULT_PITCH - Character width not set * - FIXED_PITCH - Font with constant width * - VARIABLE_PITCH - Font with variable width and one of the following family values: * - FF_DONTCARE - Non classified font * - FF_ROMAN - Serif fonts (Times Roman, Century, Schoolbook, etc.) * - FF_SWISS - Fonts without Serifs but with variable line width (Helvetica, Swiss, etc.) * - FF_MODERN - Font without Serifs with constant widths (Pica, Elite Courier, ect.) * - FF_SCRIPT - Scriptlike font (Cursive, etc.) * - FF_DECORATIVE - Decorative font (Old English, etc.) .. us.params **Parameters** .. uparam:: hFont Identifies the font. .. seealso:: :ref:`overview-fonts`, :ref:`FontCreate`, :ref:`FontDialog`, :ref:`FontSetPitchAndFamily` :sub:`id-401059`