Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
long PrintInsideRect( CDC* pDC**, RECT&** rectLayout**, long** nIndexStart**, long** nIndexStop**, BOOL** bOutput );
Return Value
The index of the last character that fits in the output area plus one.
Parameters
pDC
Pointer to a device context for the output area.
rectLayout
RECT or CRect which defines the output area.
nIndexStart
Zero-based index of the first character to be formatted.
nIndexStop
Zero-based index of the last character to be formatted.
bOutput
Indicates if the text should be rendered. If FALSE, the text is just measured.
Remarks
Call this function to format a range of text in a rich edit control to fit within rectLayout for the device specified by pDC. Typically, this call is followed by a call to CRichEditCtrl::DisplayBand which generates the output.
Example
See the example for CRichEditView::GetPaperSize.
CRichEditView Overview | Class Members | Hierarchy Chart
CRichEditCtrl::FormatRange, CRichEditView::PrintPage, CRichEditCtrl::DisplayBand