Click or drag to resize

PdfDictionaryKeyCollectionCopyTo Method

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

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

Parameters

array
Type: GemBox.Pdf.ObjectsPdfName
The one-dimensional Array that is the destination of the PdfNames copied from PdfDictionaryKeyCollection. 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 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