![]() |
Markup - multipage printing |
Post Reply
|
| Author | |
mnowaczy
Groupie
Joined: 16 June 2008 Status: Offline Points: 12 |
Post Options
Thanks(0)
Quote Reply
Topic: Markup - multipage printingPosted: 29 July 2008 at 9:08am |
|
Hi!
In MarkupPad example you set only one page: BOOL CMarkupPadView::OnPreparePrinting(CPrintInfo* pInfo) { pInfo->m_nNumPreviewPages = 1; pInfo->SetMinPage(1); pInfo->SetMaxPage(1); // default preparation return DoPreparePrinting(pInfo); } How to determine number of pages? And why do you print scrollbar? Mike |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 30 July 2008 at 7:58am |
|
Hi,
You can't determine number of pages. If you have multipage markup, create markup for each page and render it.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |