开发者

.NET PrintPreviewControl

I'm trying to use the PrintPreviewControl in .NET to display the print preview of my controls. I have a panel on the left with the settings (i.e. landscape, margins etc.). The user can update these and see the actual printout change as they do so (similar to Excel 2010 here).

The only problem is

InvalidatePreview();

on the PrintPreviewControl invalidates all the pages, you get a dialog that says genera开发者_开发知识库ting previews (doesn't look nice).

I'd like something like virtual paging in the DataGridView so that only the page displayed gets invalidated?

Does anyone know how I could do this with the PrintPreviewControl?

Any help appreciated...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜