Message 1 of 5
Setting Table Margins

Not applicable
09-17-2010
11:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to set my tables margins. My line to do that is:
atsHeadTable.SetMargin(CellMargins.Left, 0.03, RowType.DataRow)
But I get an error when doing this. I think I have the stylename in the command wrong. What do I put in there?
I also used the command:
MyTable.Cells(0, 0).Borders.Horizontal.Margin = 0.03
This works but I have to set it for each cell.