IndirectionImageSourceAdd Method (String, Int32) |
Adds an image to the end of the image source from a filename.
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 Add(
string fileName,
int frameIndex
)
Public Sub Add (
fileName As String,
frameIndex As Integer
)
Parameters
- fileName
- Type: SystemString
The filename of the image to add. - frameIndex
- Type: SystemInt32
The frame index to add. If this value is -1, all pages will be added to the image source.
Exceptions Exception | Condition |
---|
| Thrown if the filename is null (Nothing in VB) or empty. |
| Thrown if the file is not found. |
See Also