I'm trying to use your component to display pages scanned from a twain source.
I can add the first page but i have problems with NewPage.
My code is:
- Code: Select all
frmScan.PrintPreview.NewPage;
frmScan.PrintPreview.BeginDoc;
frmScan.PrintPreview.Canvas.StretchDraw(frmScan.PrintPreview.PageBounds, Image);
frmScan.PrintPreview.EndDoc;
Hope you can give me some hint
regards,
konez2k