Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Inserts and returns an InlineImage at the end of this Element. The image that will be inserted is specified by the stream parameter.

Signature
C#C#
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 stream parameter.{excerpt}
{signature:C#}
 public virtual InlineImage InsertImageAfter(System.IO.Stream stream)
Signature
{signature}{signature:vb.net
vb.net
}
Public Overridable Function InsertImageAfter(ByVal stream As System.IO.Stream) As InlineImage
Parameters
{signature}
{parameters}
{param:stream}A {msdn:System.IO.Stream
containing the image to insert.
Param
streamstreamA
Msdn
System.IO.Stream
1Stream
Returns

An InlineImage object that represents the image that was inserted.

Exceptions
|Stream} containing 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(strm);
{code}
{code:vb.net
|title=vb.net
}
Dim image As InlineImage = e.InsertImageAfter(strm){code}

{example}
Exception
System.ExceptionSystem.Exception

If the image file is not a valid format. See InlineImage.Format for a list of supported formats.

Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle