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 beginning of this Element. The image that will be inserted is specified by the stream parameter.

Signature
C#
C#
 public virtual InlineImage InsertImageBefore(System.IO.Stream stream)
Signature
vb.net
vb.net
Public Overridable Function InsertImageBefore(ByVal stream As System.IO.Stream) As InlineImage
Parameters
Param
stream
stream

A

Msdn
System.IO.Stream
System.IO.Stream
1Stream
containing the image to insert. to insert.

Returns

An InlineImage object that represents the image that was inserted.

Exceptions
Exception
System.Exception
System.Exception

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

Example
Code Block
csharp
csharp
titleC#
InlineImage image = e.InsertImageBefore(strm);
Code Block
vb.net
vb.net
titlevb.net
Dim image As InlineImage = e.InsertImageBefore(strm)