IndirectionImageSourceInsert Method (Int32, String, Int32) |
Adds or inserts one or more images from a file.
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,
string fileName,
int frameIndex
)
Public Sub Insert (
index As Integer,
fileName As String,
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. - fileName
- Type: SystemString
The full path and filename of the image to insert. - frameIndex
- Type: SystemInt32
The frame index to insert or -1 to insert all pages of a multipage document.
Exceptions Exception | Condition |
---|
| Thrown if the fileName argument is null. |
| Thrown if the fileName is invalid. |
See Also