Skip to main content
A newer version of this page is available. .

How to: Insert Inline Picture

To insert a picture in line with text, use the DocumentImageCollection.Insert method.

Document document = server.Document;
DocumentPosition pos = document.Range.Start;
document.Images.Insert(pos, DocumentImageSource.FromFile("Documents\\beverages.png"));