共用方式為


CFontDialog::GetCharFormat

Retrieves the character formatting of the selected font.

void GetCharFormat( 
   CHARFORMAT& cf 
) const;

Parameters

  • cf
    A CHARFORMAT structure containing information about the character formatting of the selected font.

Requirements

Header: afxdlgs.h

See Also

Reference

CFontDialog Class

Hierarchy Chart

Other Resources

CFontDialog Members