CEditView::GetPrinterFont

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

Call GetPrinterFont to get a pointer to a CFont object that describes the current printer font. 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.

CEditView OverviewClass MembersHierarchy Chart

See Also   CEditView::SetPrinterFont