Click or drag to resize

PdfFilterCollectionCopyTo Method

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

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

Parameters

array
Type: GemBox.Pdf.FiltersPdfFilter
The one-dimensional Array that is the destination of the PdfFilters copied from PdfFilterCollection. 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 PdfFilters in the source PdfFilterCollection is greater than the available space from arrayIndex to the end of the destination array.
See Also