Expected Behavior
Produce a visible barcode (works in 1.31.3066.0)
Actual Behavior
Compiles and runs, but shows no barcode.
Steps to Reproduce the Behavior
Add this code to IssueSubmission/Program.cs
MigraDoc.DocumentObjectModel.Tables.Table table = section.AddTable();
table.AddColumn();
table.AddRow();
Barcode b = table[0, 0].Elements.AddBarcode();
b.Type = BarcodeType.Barcode39;
b.Code = "79834278";
b.Width = 200;
b.Height = 50;
b.BearerBars = true;
b.LineHeight = 50;
b.LineRatio = 2;
Further information
This function does not handle the case where documentObject is a Barcode, so the object is never rendered:
https://github.com/empira/MigraDoc/blob/cb9690cd2ee96ae3609508f551c2765f609e7a5a/MigraDoc/src/MigraDoc.Rendering/Rendering/Renderer.cs#L149-L169
Expected Behavior
Produce a visible barcode (works in 1.31.3066.0)
Actual Behavior
Compiles and runs, but shows no barcode.
Steps to Reproduce the Behavior
Add this code to IssueSubmission/Program.cs
Further information
This function does not handle the case where documentObject is a Barcode, so the object is never rendered:
https://github.com/empira/MigraDoc/blob/cb9690cd2ee96ae3609508f551c2765f609e7a5a/MigraDoc/src/MigraDoc.Rendering/Rendering/Renderer.cs#L149-L169