Good Day,
I am currently working on addressing accessibility issues that are present in the tables of my PDF. I am wondering how I set the Header and the summary for the table. Below is the code for the table i am creating.
Dim t1 As Table2 = New Table2(posX, posY, 550, 150)
t1.Border.Left.LineStyle = LineStyle.None
t1.Border.Right.LineStyle = LineStyle.None
t1.Border.Bottom.LineStyle = LineStyle.None
t1.Border.Top.LineStyle = LineStyle.None
With t1
With .Columns
.Add(275)
.Add(275)
End With
With .Rows
r = .Add(24)
r.Cells.Add(header.Rows(0)("AcdmYr").ToString, ceTe.DynamicPDF.Font.HelveticaBold, 16, 2)
r.CellDefault.Align = TextAlign.Center
r.CellDefault.VAlign = VAlign.Center
r.CellDefault.Border.Left.LineStyle = LineStyle.None
r.CellDefault.Border.Right.LineStyle = LineStyle.None
r.CellDefault.Border.Top.LineStyle = LineStyle.None
r.CellDefault.Border.Bottom.LineStyle = LineStyle.None
r = .Add(14)
r.CellDefault.Border.Left.Width = 0.5
r.CellDefault.Border.Right.Width = 0.5
r.CellDefault.Border.Top.Width = 0.5
r.CellDefault.Border.Bottom.Width = 0.5
r.Cells.Add("District: " & header.Rows(0)("Dist").ToString, ceTe.DynamicPDF.Font.Helvetica, 10, 1)
r.Cells.Add(header.Rows(0)("Nm").ToString, ceTe.DynamicPDF.Font.Helvetica, 10, 1)
r = .Add(14)
r.CellDefault.Border.Left.Width = 0.5
r.CellDefault.Border.Right.Width = 0.5
r.CellDefault.Border.Top.Width = 0.5
r.CellDefault.Border.Bottom.Width = 0.5
r.Cells.Add("School: " & header.Rows(0)("Schl").ToString, ceTe.DynamicPDF.Font.Helvetica, 10, 1)
r.Cells.Add(header.Rows(0)("BirthDt").ToString, ceTe.DynamicPDF.Font.Helvetica, 10, 1)
r.CellDefault.Border.Top.LineStyle = LineStyle.None
r = .Add(14)
r.CellDefault.Border.Left.Width = 0.5
r.CellDefault.Border.Right.Width = 0.5
r.CellDefault.Border.Top.Width = 0.5
r.CellDefault.Border.Bottom.Width = 0.5
r.Cells.Add("Teacher: " & header.Rows(0)("Assessor").ToString, ceTe.DynamicPDF.Font.Helvetica, 10, 1)
r.Cells.Add(header.Rows(0)("EnrlGrd").ToString, ceTe.DynamicPDF.Font.Helvetica, 10, 1)
r.CellDefault.Border.Top.LineStyle = LineStyle.None
End With
End With
pg1.Elements.Add(t1)
DynamicPDF Table2 Accessibility issue
Re: DynamicPDF Table2 Accessibility issue
Support · Oct 13, 2016Hello,
Can you please send over the following details to [^a|mailto:support@cete.com|opennewwindow|support@cete.com^] so we can look into it further?
1.Output PDF.
2.Screenshot showing the Accessibility errors.
3.Exact version and name or the tool used to perform accessibility check on the generated PDF.
4.Exact version and build number of the DynamicPDF DLL file used in the application. You can get this information in DLL references properties (Version and Description fields) in Visual Studio.
Thanks,
ceTe Software Support Team.