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

Returns the image in the given format.

Signature
C#
C#
 public System.IO.Stream GetImage(Format imgFormat)
Signature
vb.net
vb.net
Public Function GetImage(ByVal imgFormat As Format) As System.IO.Stream
Parameters
Param
format
format

An InlineImage.Format of the type you wish to return.

Returns

A

Msdn
System.IO.Stream
System.IO.Stream
1System.IO.Stream
object that represents the image that was inserted.

Exceptions
Exception
System.Exception
System.Exception

Example
Code Block
csharp
csharp
titleC#
System.IO.Stream image = firstImage.GetImage(InlineImage.Bmp);
Code Block
vb.net
vb.net
titlevb.net
Dim image As System.IO.Stream = firstImage.GetImage(InlineImage.Bmp)