Skip to end of metadata
Go to start of metadata

Description

Returns the image in the given format.

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

Parameters

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

Returns

A System.IO.Stream object that represents the image that was inserted.

Exceptions

System.Exception

Examples

C#
System.IO.Stream image = firstImage.GetImage(InlineImage.Bmp);
vb.net
Dim image As System.IO.Stream = firstImage.GetImage(InlineImage.Bmp)
  • No labels