I noticed that you make it with bigger size. I did some tests and I find that minimum size is 4 pixels.
This modification works perfectly and line is shown in all kind of export.
shape.Size = new SizeU(new Unit(widthColumn, UnitType.Pixel),
new Unit(4, UnitType.Pixel));
It is probably some minimal size for correct rendering.
Thank you for your help