Table Row's Y Co-Ord

Table Row's Y Co-Ord

Forum member · Feb 28, 2006
table.Rows.Add(20); Can I get the X,Y Co-Ordinates for Row1, Row2 and so on.

Re: Table Row's Y Co-Ord

Support · Feb 28, 2006
The X coordinate for any row will always be the X coordinate specified for the Table it is contained in. To determine the Y coordinate you will need to iterate through and add up the values returned from each Row's "ActualRowHeight" method. In other words to find the Y location of Row 5 you will need to add up the "ActualRowHeight" for Rows 1-4. Thanks, ceTe Software Support