Forums     Knowledge Base     OfficeWriter Online     
 
 
This documentation is for
OfficeWriter v3.8.1
.NET Platform

View Docs for Another
Version or Platform

Programmer's Reference > WordApplication API > Element > InsertImageAfter

InsertImageAfter Method



Signature:

public InlineImage InsertImageAfter ( System.IO.Stream stream )

Description:

Inserts and returns an InlineImage at the end of this Element. The image that will be inserted is specified by the stream parameter.

Parameters:

stream     A Stream containing the image to insert.

Returns:

InlineImage An InlineImage object that represents the image that was inserted.

Exceptions:

System.Exception     If the image file is not a valid format. See InlineImage.ImageFormat for a list of supported formats.

Examples:

[csharp]
InlineImage image = e.InsertImageAfter(strm);
[vbnet]
Dim image As InlineImage = e.InsertImageAfter(strm)



Copyright 2007 © SoftArtisans, Inc. All Rights Reserved.