Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CDC::EndPage
Collapse the table of content
Expand the table of content

CDC::EndPage

Informs the device that the application has finished writing to a page.

int EndPage( );

Greater than or equal to 0 if the function is successful, or a negative value if an error occurred.

This member function is typically used to direct the device driver to advance to a new page.

This member function replaces the NEWFRAME printer escape. Unlike NEWFRAME, this function is always called after printing a page.

See the example for CDC::StartDoc.

Header: afxwin.h

Show:
© 2015 Microsoft