Click or drag to resize

PdfDictionaryKeyCollectionCopyTo Method

Copies the PdfDictionaryKeyCollection 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: 2024.11.26
Syntax
public void CopyTo(
	PdfName[] array,
	int arrayIndex
)

Parameters

array  PdfName
The one-dimensional Array that is the destination of the PdfNames copied from PdfDictionaryKeyCollection. 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 PdfDictionaryKeyCollection is greater than the available space from arrayIndex to the end of the destination array.
See Also