Click or drag to resize

PdfDictionaryValueCollectionCopyTo Method

Copies the PdfDictionaryValueCollection elements to an existing one-dimensional Array, starting at the specified array index.

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

Parameters

array  PdfBasicObject
The one-dimensional Array that is the destination of the PdfBasicObjects copied from PdfDictionaryValueCollection. The Array must have zero-based indexing.
arrayIndex  Int32
The zero-based index in array at which copying begins.

Implements

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