Click or drag to resize

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.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public void Insert(
	int index,
	Stream stream,
	int frameIndex
)

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
ExceptionCondition
Thrown if the stream argument is null (Nothing in VB).
See Also