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.

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