I'm setting page sizes for my reports using the following function...
mySection.PageSize = New Infragistics.Documents.Report.PageSize(width, height)
problem is that it doesn't specify the scale. I think that this is pixels. 420 X 595 seems to be about A5 I think. The documentation on this is limited, it would be very useful to have at least the standard sizes listed in the API or other docs along with the scale. Maybe an enumeration in future?
I've also noticed that if you don't specify a size the default is bigger than A4 by just a little.
A4 = ?
A5 = 595 x 420?
I'm sure this will be useful to people,
As far as I am aware, the scale for all units of measurement in the Documents engine is Points. There are conversion methods at Infragistics.Documents.Utils.Converter, such as PixelsToPoints, that may help you.
Thanks for this!
Just for others looking for sizes: -
A4 = 595.275 x 841.889
A5 = 595.275 x 419.527 (PostScript points)
Sorry, just noticed that using wikipedia for the definition of A4 wasn't accurate enough as values were in whole mm only!
As you may have noticed the values above don't conform to the golden ratio. Close though!
Maybe round down to be sure :0)