Groups | Blog | Home
all groups > vb.net controls > february 2004 >

vb.net controls : Print Preview control !!



Dmitriy Lapshin [C# / .NET MVP]
2/17/2004 2:15:34 PM
Hi,

As far as I remember, this control is bound to a particular PrintDocument
instance. You should probably have several instances of PrintDocument and
bind the appropriate instance to the PrintPreview control when the
corresponding document is about to be previewed.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://www.x-unity.net/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

[quoted text, click to view]
AG
2/17/2004 5:20:29 PM
I am using PrintPreview control in my VB.NET application.

But when we display print preview, only the last document is shown, and I
cannot see

five or six documents there. Seems like as soon as the next opens, the
earlier document gets

overwritten. Please suggest.



hirf-spam-me-here NO[at]SPAM gmx.at
2/17/2004 7:02:40 PM
* "AG" <me@me.com> scripsit:
[quoted text, click to view]

Are you talking about documents or about pages?

Basic printing sample:

<http://www.mvps.org/dotnet/dotnet/samples/printing/downloads/PrintFramework.zip>

--
Herfried K. Wagner [MVP]
AddThis Social Bookmark Button