Predicting sub reports per page: how wide is BorderWidth in textbox in a table
I am programmatically writing my RDL sub report and master report. The spec is dictating that I have an index page specifying which subreports are on what page. I am having issues with predicting how many subreports render onto each PDF page. I count the number of rows for the tables (from the dataset) and calculate the height of the tables and then the subreports, but I am getting PDFs that have fewer subreports than I can predict with my calcs. The only item I haven't accounted for is the 1pt BorderWidth. Since I know how may rows I have, it is possible to calculate how much vertical space to allow for the 1pt BorderWidth(s) if I could find out what the 1pt translates to in inches. Does anyone have a conversion for the border scale: pt to inch conversion? Thanks, Micheal
January 13th, 2011 10:03pm

Hi Michael, If I understand correctly, you want to know how to convert points to inch programmatically. This question is a question regarding development. However, the following links might be helpful: http://stackoverflow.com/questions/139655/how-to-convert-pixels-to-points-px-to-pt-in-net-c http://www.codeproject.com/Articles/93160/Operator-Overloading-with-Implicit-and-Explicit-Ca.aspx Thanks, Jin ChenJin Chen - MSFT
Free Windows Admin Tool Kit Click here and download it now
January 14th, 2011 5:41am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics