Inserts and returns an InlineImage at the beginning of this Element. The image that will be inserted is specified by the fileName parameter.

 public virtual InlineImage InsertImageBefore(System.String fileName)
Public Overridable Function InsertImageBefore(ByVal fileName As String) As InlineImage

A String containing the filename of the image to insert.

An InlineImage object that represents the image that was inserted.

If the image file is not a valid format. See InlineImage.Format for a list of supported formats.

InlineImage image = e.InsertImageBefore("C:\sample.jpg");
Dim image As InlineImage = e.InsertImageBefore("C:\sample.jpg")