Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1725
Using Infragistics.Documents.Report.ICondition
posted

In reading about ICondition it only talks about situations where something does not "fit on a page".

 I have a report where I'm trying to make sure that the contents of a container fits within a cell in a fixed height table. The cell allows me to add an ICondition interface item but ( as near as I can tell) the ICondition does now work ... or more likely I don't have a clue as to what I'm doing or how it should work in this case.

My expectation was that the  ICondition would use the "false" condition if the contents of the container would not fit in the space left in the fixed size cell.  If it does not work this way, is there any way within the documents engine where I can have a table, add a set of rows and then get the amount of space left in the table?  

The problem I'm trying to solve is that I have a fixed area into which I need to put some unknown amount of text. What I need to be able to do is figure out how much space is left in a table cell and scale the text font until it fits ... of is below some minimum readable limit.

Is there any way to accomplish this? 

Thanks
Neil