<< Return to Main Index

< Return to Class Index

CGXFont::SetDescription

CGXFont& SetDescription(LPCTSTR szDescription);

szDescription

Specifies the description string.

Return Value

Returns a reference to the font object.

Remarks

Initializes the font through a description string. The description string is a comma-delimited string with facename, size, bold style, italic style, underline style and strikeout style such as "Arial,,1,,1" for an Arial font with strikeout and bold style.

See Also

CGXFont::ReadProfile

CGXFont

Class Overview | Class Members