In assigning Documents.PageSizes.Letter (one of the predefined page sizes) to the Report.Section.ISection.PageSize, I find that the Width property is 612.0 and the Height property is 792.0. In scouring the help file on Documents, I can find no reference as to the units used here. I thought that page sizes were supposed to be in hundreths of an inch. So shouldn't these show up as 850.0 and 1100.0 for Letter size paper? I am trying to use custom sizes and can't figure out what the size values should be. If I use the Windows page setup dialog to select a size, it returns 850 and 1100 for Letter paper which is certainly different than Infragistics' properties for Letter size..
After some analysis, I think the Infragistics page size values are in points (72 points per inch). That comes from 612/8.5=72 and 792/11=72. It certainly would be useful to be able to know what units the values are in and if this is going to be consistant since I need to convert the Windows page size values (in hundredths) to what is needed in the Infragistics document engine.
Hello Roy,
Please do not hesitate to contact us if you have any further questions on this matter.
You are correct, they are in points.There is a static method you can use to convert from points to pixels based on the screen DPI.
Infragistics.Win.UltraWinGrid.DocumentExport.Utilities.PixelsToPoints