Thomas Hoevel wrote:
Where are these figures coming from?
A6 has a height of 5.9in, but A5 has a width of 5.8in - the correct value would be 5.82677165".
I'd specify the paper sizes in mm.
See here (table "ISO paper sizes (plus rounded inch values)"):
http://en.wikipedia.org/wiki/Paper_sizeThomas, I used these dimensions from the following table from papersizes.org mostly. It was close enough for my needs. Sure, I maybe should have used the mm sizes, good suggestion.
With all that said, and all due respect to the MigraDoc team, I should have mentioned that I was simply supplying a template and basic guidance for him to implement his own solution, which is what he must learn to do if he needs a feature here. It does seem increasingly unlikely that we'll ever see a new version of this library released officially, so it helps one greatly to know this up front.
Size Height x Width (mm) Height x Width (in)
4A0 2378 x 1682 mm 93.6 x 66.2 in
2A0 1682 x 1189 mm 66.2 x 46.8 in
A0 1189 x 841 mm 46.8 x 33.1 in
A1 841 x 594 mm 33.1 x 23.4 in
A2 594 x 420 mm 23.4 x 16.5 in
A3 420 x 297 mm 16.5 x 11.7 in
A4 297 x 210 mm 11.7 x 8.3 in
A5 210 x 148 mm 8.3 x 5.8 in
A6 148 x 105 mm 5.8 x 4.1 in
A7 105 x 74 mm 4.1 x. 2.9 in
A8 74 x 52 mm 2.9 x 2.0 in
A9 52 x 37 mm 2.0 x 1.5 in
A10 37 x 26 mm 1.5 x 1.0 in