Click here to Skip to main content
16,006,707 members

Comments by Member 12620816 (Top 5 by date)

Member 12620816 10-Aug-16 9:32am View    
thank you. :)
Member 12620816 10-Aug-16 9:32am View    
thank you. :)
Member 12620816 10-Aug-16 9:32am View    
i've figured it out.. thank you very much for your time. :)
Member 12620816 10-Aug-16 4:39am View    
int pages = 1;
if (pages == 1)
{
Image bgFront = ((PictureBox)pictureBox_IDFront).Image;
e.Graphics.DrawImage(bgFront, 0, 0, 212, 337);
pages++;
e.HasMorePages = true;
}
else
{
Image bgBack = ((PictureBox)pictureBox_IDBack).Image;
e.Graphics.DrawImage(bgBack, 212, 0, 212, 337);
pages = 0;
e.HasMorePages = false;
}


i know this is wrong coz it will only call one of them. i don't know where to put the second page. i've tried both if and it still print both images on the same page. thank you.
Member 12620816 10-Aug-16 4:11am View    
that's my problem. i don't know how to determine which page i am on. can you pls show it to me. i'm sorry. i've been trying this for weeks now. every time i use hasmorepages i get more like unlimited pages. sorry for my English. thank you.