copy_to method
copy_to
Copies the elements of the System.Collections.Generic.ICollection`1 to an System.Array, starting at a particular System.Array index.
def copy_to(self, array, array_index):
...
Parameter | Type | Description |
---|---|---|
array | List[IParagraph] | The one-dimensional System.Array that is the destination of the elements copied from System.Collections.Generic.ICollection`1. The System.Array must have zero-based indexing. |
array_index | int | The zero-based index in <br/><br/>array at which copying begins. |
Exceptions
Exception | Description |
---|---|
RuntimeError(Proxy error(ArgumentNullException)) | <br/>array is null. |
RuntimeError(Proxy error(ArgumentOutOfRangeException)) | <br/>array_index is less than 0. |
RuntimeError(Proxy error(ArgumentException)) | The number of elements in the source **System.Collections.Generic.ICollection1** is greater than the available space from array_index <br/> to the end of the destination array` . |
See Also
- class
ParagraphCollection
- module
aspose.slides
- library
Aspose.Slides