Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

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

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

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

Returns

An InlineImage object representing the inserted image.

Exceptions
Exception
System.Exception
System.Exception

Example
Code Block
csharp
csharp
titleC#
InlineImage image = pos.InsertImage("C:\\sample.jpg");
Code Block
vb.net
vb.net
titlevb.net
Dim image As InlineImage = pos.InsertImage("C:\sample.jpg")