'Usage Dim instance As AcquiredImageCollection Dim filename As String Dim pageIndex As Integer instance.Add(filename, pageIndex)
Parameters
- filename
- Filename of image file.
- pageIndex
- Index of page to load.
'Usage Dim instance As AcquiredImageCollection Dim filename As String Dim pageIndex As Integer instance.Add(filename, pageIndex)
Exception | Description |
---|---|
System.ArgumentNullException | Thrown if filename is null. |
System.ArgumentOutOfRangeException | Thrown if pageIndex is less 0 -OR- greater than page count. |
ImagingException | Thrown if image has unsupported format. |
Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003