PitchAndFamily property

PitchAndFamily property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

See also         Example         Applies to

Returns the pitch and family code for a Font object.

Version added

4.0

Syntax

        
          intRet = object.PitchAndFamily
      

intRet

Integer. The pitch and family code of the Font object.

object

Required. An expression that returns a Font object.

Remarks

Use the PitchAndFamily property to specify a font's pitch and assign it to a font family. You can specify pitch, family, or both. To specify both, use an or expression. Font families are used to specify a font when an exact typeface is unavailable.

The possible values of the PitchAndFamily property correspond to those of the lfPitchAndFamily member of the Windows LOGFONT data structure. For details, search for "LOGFONT" in the Microsoft Platform SDK on the Microsoft Developer Network (MSDN) Web site.