Inserts and returns an InlineImage at the point represented by this Position. The image that is inserted is specified by a fileName string.

 public InlineImage InsertImage(System.String fileName)
Public Function InsertImage(ByVal fileName As String) As InlineImage

A String representing the file anme of the image to insert.

An InlineImage object representing the inserted image.

InlineImage image = pos.InsertImage("C:\\sample.jpg");
Dim image As InlineImage = pos.InsertImage("C:\sample.jpg")