Copies the entire
PdfArray to a compatible one-dimensional array, starting at the specified index of the target array.
Namespace: SautinSoft.Pdf.ObjectsAssembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.8.8
Syntax public void CopyTo(
PdfBasicObject[] array,
int arrayIndex
)
Public Sub CopyTo (
array As PdfBasicObject(),
arrayIndex As Integer
)
Parameters
- array PdfBasicObject
- The one-dimensional Array that is the destination of the PdfBasicObjects
copied from PdfArray. 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. |
ArgumentException | The number of PdfBasicObjects in the source
PdfArray is greater than the available space from arrayIndex to the
end of the destination array. |
See Also