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}{signature:
}
Signature
vb.net
vb.net
Public Function InsertImage(ByVal fileName As String) As InlineImage
{signature}
{parameters}
{param:fileName}A {{String}} representing the file anme of the image to insert.{param}
{returns}An {{InlineImage}} object representing the inserted image.{returns}
{exceptions}
{exception:System.Exception}{exception}
{example}{code:csharp|title=C#}
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} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}

Dim image As InlineImage = pos.InsertImage("C:\sample.jpg")
{code} {example}