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
Wiki Markup
{description}
{excerpt}Inserts and returns an [InlineImage|InlineImage] at the point represented by this Position. The image that is inserted is specified by a fileName string.{excerpt}
{signature:C#}
 public InlineImage InsertImage(System.String fileName)
{signature}{signature: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#}
InlineImage image = pos.InsertImage("C:\\sample.jpg");{code}
{code:vb.net|title=vb.net}
Dim image As InlineImage = pos.InsertImage("C:\sample.jpg"){code}

{example}