or
var dg =
new
GridViewComboBoxColumn
{
DataSource =
new
[] {
"Edit"
,
"Delete"
},
HeaderText =
"Action"
,
Name =
"col_Action"
,
Width = 80,
AllowResize =
true
,
FieldName =
"gv_cmb_Action"
,
SortOrder = RadSortOrder.None,
AllowFiltering =
false
,
AllowGroup =
false
,
AllowSort =
false
,
ReadOnly =
false
};
if
(gv_Criteria.ColumnCount != 9)
{
gv_Criteria.Columns.Insert(8, dg);
}
X - 3: 23
Y - 3: 7
row = New TableRow
cell = New TableCell()
p = New Paragraph()
sp = New Span()
sp.Text = "Benefit Start"
sp.UnderlineType = UI.UnderlineType.Line
p.Inlines.Add(sp)
row.Cells.Add(cell)
table.Rows.Add(row)
The underline extends past the final character. See the attached 'underlineissue_richtextbox.jpg' for an example, this jpg also shows the same text/paragraph added to the section outside of a table and it works fine.
The problem is even worse when I export the document to a PDF as all the underlines are too wide. See the second attachment for an example.
Is there a work around for this issue or am I doing something wrong?