There seems to be no reliable way to get paper dimensions from the paper kind ... I have looked for about an hour online ... but all methods seem to use either the PrinterSettings or PrintDocument. The problem with using these is that they will only work for page sizes that your printer supports!
... so unless you have an A1 printer ... you won't be able to work out the paper dimensions :( by using this method..
Is there a better way?...
I noticed that there was a private method in the built in paper size (look here under "private Point Dimensions")
... but I tried to call it using reflection and it seems to be removed in the later versions of .net altogether (not surprising since Microsofts comment is: "I don't think we need this anymore")
How crazy is this WE NEED THIS!
Any ideas?
Thanks in advance,
Kris
... so unless you have an A1 printer ... you won't be able to work out the paper dimensions :( by using this method..
Is there a better way?...
I noticed that there was a private method in the built in paper size (look here under "private Point Dimensions")
... but I tried to call it using reflection and it seems to be removed in the later versions of .net altogether (not surprising since Microsofts comment is: "I don't think we need this anymore")
How crazy is this WE NEED THIS!
Any ideas?
Thanks in advance,
Kris