IndirectionImageSourceInsert Method (Int32, Stream, Int32) |
Adds or inserts one or more images from a stream.
Namespace:
Atalasoft.Imaging
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public void Insert(
int index,
Stream stream,
int frameIndex
)
Public Sub Insert (
index As Integer,
stream As Stream,
frameIndex As Integer
)
Parameters
- index
- Type: SystemInt32
The index where the image should be inserted or -1 to add the image to the end of the
collection. - stream
- Type: System.IOStream
A stream containing the image(s). This stream must be seekable.
- frameIndex
- Type: SystemInt32
The frame index to insert or -1 to insert all pages of a multipage document.
Exceptions Exception | Condition |
---|
| Thrown if the stream argument is null (Nothing in VB). |
See Also