Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.
Namespace: SautinSoft.PdfAssembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.11.26
Syntax public void CopyTo(
PdfPage[] array,
int arrayIndex
)
Public Sub CopyTo (
array As PdfPage(),
arrayIndex As Integer
)
Parameters
- array PdfPage
- The one-dimensional Array that is the destination of the elements copied from collection. The Array must have zero-based indexing.
- arrayIndex Int32
- The zero-based index in array at which copying begins.
Implements
ICollectionTCopyTo(T, Int32)Exceptions Exception | Condition |
---|
ArgumentNullException | array is . |
ArgumentOutOfRangeException | arrayIndex is less than 0 or greater than array's Length. |
ArgumentException | The number of elements in the source PdfPages is greater than the available space from arrayIndex to the end of the destination array. |
See Also