ExternalLinkCollection class
ExternalLinkCollection class
Represents external links collection in a workbook.
The ExternalLinkCollection type exposes the following members:
Properties
Property | Description |
---|---|
count | Gets the number of elements actually contained in the collection. |
Gets the ExternalLink
element at the specified index.
Indexer
Name | Description |
---|---|
[index] | The zero based index of the element. |
Methods
Method | Description |
---|---|
add | Adds an external link. |
add | Add an external link . |
clear | Removes all external links. |
clear | Removes all external links. |
remove_at | Removes the specified external link from the workbook. |
remove_at | Removes the specified external link from the workbook. |
Example
from aspose.cells import Workbook
# Open a file with external links
workbook = Workbook("book1.xls")
# Change external link data source
workbook.worksheets.external_links[0].data_source = "d:\\link.xls"
See Also
- module
aspose.cells
- class
ExternalLink