469,578 Members | 1,421 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,578 developers. It's quick & easy.

how to change the papersize

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
Nov 20 '05 #1
1 1400
* =?Utf-8?B?YmFmaWRp?= <an*******@discussions.microsoft.com> scripsit:
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>)
///
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Pedro Feio | last post: by
reply views Thread by Larry | last post: by
reply views Thread by Madern | last post: by
reply views Thread by Madern | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.