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
Wiki Markup
{description}
{excerpt}Returns the image in the given format.{excerpt}
{signature:C#}
 public System.IO.Stream GetImage(Format imgFormat)
{signature}{signature: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: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#}
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}