CRichEditView::GetPageRect

Call this function to get the dimensions of the page used in printing.

CRect GetPageRect( ) const;

Return Value

The bounds of the page used in printing, measured in MM_TWIPS.

Remarks

This value is based on the paper size.

Requirements

Header: afxrich.h

See Also

Reference

CRichEditView Class

Hierarchy Chart

CRichEditView::GetMargins

CRichEditView::GetPrintWidth

CRichEditView::GetPrintRect

CRichEditView::GetPaperSize

CRichEditView::PrintPage