Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Selects a font into a device context.
CFont* SelectFontObject( 
   CDC* pDC, 
   CFontHolder& fontHolder  
);
Parameters
- pDC 
 Pointer to a device context object.
- fontHolder 
 Reference to the CFontHolder object representing the font to be selected.
Return Value
A pointer to the previously selected font. When the caller has finished all drawing operations that use fontHolder, it should reselect the previously selected font by passing it as a parameter to CDC::SelectObject.
Requirements
Header: afxctl.h