Click or drag to resize

PdfArrayCopyTo Method

Copies the entire PdfArray to a compatible one-dimensional array, starting at the specified index of the target array.

Namespace:  GemBox.Pdf.Objects
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version: 13.0.35.1000
Syntax
public void CopyTo(
	PdfBasicObject[] array,
	int arrayIndex
)

Parameters

array
Type: GemBox.Pdf.ObjectsPdfBasicObject
The one-dimensional Array that is the destination of the PdfBasicObjects copied from PdfArray. The Array must have zero-based indexing.
arrayIndex
Type: SystemInt32
The zero-based index in array at which copying begins.

Implements

ICollectionTCopyTo(T, Int32)
Exceptions
ExceptionCondition
ArgumentNullExceptionarray is .
ArgumentOutOfRangeExceptionarrayIndex is less than 0.
ArgumentExceptionThe number of PdfBasicObjects in the source PdfArray is greater than the available space from arrayIndex to the end of the destination array.
See Also