Free Support Forum - aspose.com

'Aspose.Slides.CellBorder' does not contain a definition for 'LineFormat'

Hi,

I just upgraded to your new table engine by downloading Aspose.Slides for .Net 2.7.4.0. However when I tried to compile my code I get an error message stating that the "LineFormat' of a table's cell border is not supported.

Here is a piece of code that generates the error.

Cell cell = table.GetCell(currentColumn, row);
lineFormat = cell.BorderTop.LineFormat;
lineFormat.Width = cellProperty.BorderTopWeight;
lineFormat.ForeColor = cellProperty.BorderTopForeColor;
lineFormat.ShowLines = cellProperty.BorderTopVisible;
lineFormat.DashStyle = cellProperty.BorderTopDashStyle;
lineFormat.Style = cellProperty.BorderTopStyle;

It would be great if you could look into this ASAP.

Thanks,
Ronney

Please see this thread.

<A href="</A> </P></FONT>