
What are the limits of the drawing area?I am often asked about the maximum size of the drawing area. It's demonstrably smaller than say, int.MaxValue but there is no actual declaration in the various documents I've found that say for sure what the value is. One assumption is that the value is so large that you never need to really worry about it but for the geeks out there I did some experiments and compiled some figures. Testing the limits using a binary chop shows that the maximum coordinates either horizontal or vertical are 1073741951 units. These are graphical units using a floating point value so the theoretical maximum sizes for drawings are: Bitmap image at 96 DPI 176.52 miles on a side. Interestingly this bitmap would require 4.6 quintillion bytes. That's a 19 digit number and probably represents considerably more than all the bytes in all the computers on the planet. A real-world diagram in Points 235.37 miles on each side A real-world diagram in Millimeters 1073.74 kilometers on a side A real-world diagram in Inches 16946.68 Miles on a side To print a diagram in inches as a set of tiles on a standard A4 printer would require a little over 17.6 trillion sheets of paper.
|