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}{signature:
}
Signature
vb.net
vb.net
Public Function GetImage(ByVal imgFormat As Format) As System.IO.Stream
{signature}
{parameters}
{param:format}An [InlineImage.Format|InlineImage.Format] of the type you wish to return.{param}
{returns}A {msdn:
Parameters
Param
format
format

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

Returns

A

Msdn
System.IO.Stream

|

System.IO.Stream

} object that represents the image that was inserted.{returns} {exceptions} {exception:System.Exception}{exception} {example}{code:csharp|title=C#}

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} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}

Dim image As System.IO.Stream = firstImage.GetImage(InlineImage.Bmp)
{code} {example}