how to change the papersize

G

Guest

i want to write a code and make the papersize A
but this code is wrong what is the true on

PrintDocument1.DefaultPageSettings.papersize=A4
 
H

Herfried K. Wagner [MVP]

* =?Utf-8?B?YmFmaWRp?= said:
i want to write a code and make the papersize A4
but this code is wrong what is the true one

PrintDocument1.DefaultPageSettings.papersize=A4

\\\
<...>.PaperSize = New PaperSize(<Name>, <Width>, <Height>)
///
 

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