Page tree

Versions Compared

Key

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

Excerpt

Returns the image in the given format.

Signature
C#C#
Wiki Markup
{description}
{excerpt}Returns the image in the given format.{excerpt}
{signature: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
Parameters
{signature}
{parameters}
{param:format}An [InlineImage.Format|InlineImage.Format] of the type you wish to return.{param}
{returns}A {msdn:System.IO.Stream
|System.IO.Stream
object that represents the image that was inserted.
Param
formatformat

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

Returns
A
Msdn
1System.IO.Stream
Exceptions
} object that represents the image that was inserted.{returns}
{exceptions}
{exception:System.Exception}{exception}
{example}{code:csharp|title=C#}
System.IO.Stream image = firstImage.GetImage(InlineImage.Bmp);
{code}
{code:vb.net
|title=vb.net
}
Dim image As System.IO.Stream = firstImage.GetImage(InlineImage.Bmp){code}

{example}
Exception
System.ExceptionSystem.Exception
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle