Signature:
public InlineImage InsertImageBefore ( System.IO.Stream stream
)
Description:
Inserts and returns an InlineImage at the beginning of this Element. The image that will be inserted is specified by the stream parameter.
Parameters:
|
stream |
A Stream containing the image to insert. 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.InsertImageBefore(strm);
[vbnet]
Dim image As InlineImage = e.InsertImageBefore(strm)

Copyright 2007 © SoftArtisans, Inc. All Rights Reserved.