Condividi tramite


CEditView::GetPrinterFont

Call GetPrinterFont to get a pointer to a CFont object that describes the current printer font.

CFont* GetPrinterFont( ) const;

Return Value

A pointer to a CFont object that specifies the current printer font; NULL if the printer font has not been set. The pointer may be temporary and should not be stored for later use.

Remarks

If the printer font has not been set, the default printing behavior of the CEditView class is to print using the same font used for display.

Use this function to determine the current printer font. If it is not the desired printer font, use CEditView::SetPrinterFont to change it.

Requirements

Header: afxext.h

See Also

Reference

CEditView Class

Hierarchy Chart

CEditView::SetPrinterFont

Other Resources

CEditView Members