다음을 통해 공유


CPrintInfo::m_strPageDesc

Contains a format string used to display the page numbers during print preview; this string consists of two substrings, one for single-page display and one for double-page display, each terminated by a '\n' character.

Remarks

The framework uses "Page %u\nPages %u-%u\n" as the default value. If you want a different format for the page numbers, specify a format string in your override of CView::OnPreparePrinting. The m_strPageDesc member is a public variable of type CString.

Requirements

Header: afxext.h

See Also

Reference

CPrintInfo Structure

Hierarchy Chart

CView::OnPreparePrinting

Other Resources

CPrintInfo Members