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 end of this Element. The image that will be inserted is specified by the fileName parameter.{excerpt}
{signature:C#}
 public virtual InlineImage InsertImageAfter(System.String fileName)
{signature}{signature:vb.net}
Public Overridable Function InsertImageAfter(ByVal fileName As String) As InlineImage
{signature}
{parameters}
{param:fileName}A {{String}} containing the filename of the image to insert.{param}
{returns}An {{InlineImage}} object that represents the image that was inserted.{returns}
{exceptions}
{exception:System.Exception}If the image file is not a valid format. See [InlineImage.Format|InlineImage.Format] for a list of supported formats.{exception}
{example}{code:csharp|title=C#}
InlineImage image = e.InsertImageAfter("C:\\sample.jpg");{code}
{code:vb.net|title=vb.net}
Dim image As InlineImage = e.InsertImageAfter("C:\sample.jpg"){code}

{example}