![]() |
Markup - multipage printing |
Post Reply ![]() |
Author | |
mnowaczy ![]() Groupie ![]() Joined: 16 June 2008 Status: Offline Points: 12 |
![]() ![]() ![]() ![]() ![]() Posted: 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 |
![]() ![]() ![]() ![]() ![]() |
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 |