Skip to end of metadata
Go to start of metadata

Description

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

C#
 public InlineImage InsertImage(System.String fileName)
vb.net
Public Function InsertImage(ByVal fileName As String) As InlineImage

Parameters

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

Returns

An InlineImage object representing the inserted image.

Exceptions

System.Exception

Examples

C#
InlineImage image = pos.InsertImage("C:\\sample.jpg");
vb.net
Dim image As InlineImage = pos.InsertImage("C:\sample.jpg")
  • No labels