Page tree

Versions Compared

Key

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

...

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 {msdn:System.IO.Stream

...

Signature
C#C#
|Stream} object.{excerpt}
{signature:C#}
 public InlineImage InsertImage(System.IO.Stream stream)
Signature
{signature}{signature:vb.net
vb.net
}
Public Function InsertImage(ByVal stream As System.IO.Stream) As InlineImage
Parameters

...

A Stream object that the image can be read from.

Returns

An InlineImage object representing the inserted image.

Exceptions
Exception
System.ExceptionSystem.ExceptionIf the stream does not contain a supported image format see InlineImage.ImageFormat for a list of supported formats.
{signature}
{parameters}
{param:stream}A {{Stream}} object that the image can be read from.{param}
{returns}An {{InlineImage}} object representing the inserted image.{returns}
{exceptions}
{exception:System.Exception}If the stream does not contain a supported image format see InlineImage.ImageFormat for a list of supported formats.{exception}