Skip to end of metadata
Go to start of metadata

Description

Inserts and returns an InlineImage at the point represented by this Position. The image that is inserted is specified by a Stream object.

C#
 public InlineImage InsertImage(System.IO.Stream stream)
vb.net
Public Function InsertImage(ByVal stream As System.IO.Stream) As InlineImage

Parameters

stream
A Stream object that the image can be read from.

Returns

An InlineImage object representing the inserted image.

Exceptions

System.Exception
If the stream does not contain a supported image format see InlineImage.ImageFormat for a list of supported formats.
  • No labels