This project has moved and is read-only. For the latest updates, please go here.

insert horizontal line in footer

Nov 28, 2014 at 7:25 PM
how insert horizontal line in footer ?
Dec 12, 2014 at 8:38 AM
There has been made a patch which works fine (see discussion 549696)

You also could use a 1x600 Image (Build Action set as Embedded resource) and add it as Picture to your document, like:

Image myLineImage = doc.AddImage(Assembly.GetExecutingAssembly().GetManifestResourceStream("myAssembly.line.png"));
Picture myPicture = myLineImage.CreatePicture();
Footer footer = _doc.Footers.first;
footer.InsertParagraph().AppendPicture(myPicture );