is it possible to print the whole form contents by a click of a (print) button from the toolstrip of MDIparent?


Recommended Answers

There a few different methods you can use to do this:

Print Form


Print Document

Just retreive the active child and print!

Jump to Post

All 2 Replies

I have this code:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        PrintForm1.Print(Me, PowerPacks.Printing.PrintForm.PrintOption.FullWindow)
    End Sub

but it doesn't fit the paper. how can I rescale it?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.