Hi All,
AutoCAD 2011, VS 2010, C#
When building my table and attempting to set horizontal and vertical margins with:
tb.HorizontalCellMargin = ..
I get the message:
'Autodesk.AutoCAD.DatabaseServices.Table.HorizontalCellMargin' is obsolete: 'Use Table.Cells[row, column].HorizontalLine.Margin instead.'
I know this is one of the API changes, but when I attempt to use:
tb.Cells[i, 0].HorizontalLine.Margin = ..
I get a message:
'Autodesk.AutoCAD.DatabaseServices.Cell' does not contain a definition for 'HorizontalLine' and no extension method 'HorizontalLine' accepting a first argument of type 'Autodesk.AutoCAD.DatabaseServices.Cell' could be found'
The first process works but is obsolete. Any suggestions?
Thanks, Dale