Error in paper size in print document c#

Joined
Dec 25, 2016
Messages
1
Reaction score
0
//Paper Size
PrintDocument.DefaultPageSettings.PaperSize = new System.Drawing.Printing.PaperSize("PaperA6", 300, 420);

this is the code
But unfortunately nothing happens when I run it
I wanted to print in Paper A6 and use it as a default in simplest way ...
May be I'm wrong ...whats the right code????
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top