ExternalLinkCollection class

ExternalLinkCollection class

Represents external links collection in a workbook.

The ExternalLinkCollection type exposes the following members:

Properties

PropertyDescription
countGets the number of elements actually contained in the collection.

Gets the ExternalLink element at the specified index.

Indexer

NameDescription
[index]The zero based index of the element.

Methods

MethodDescription
addAdds an external link.
addAdd an external link .
clearRemoves all external links.
clearRemoves all external links.
remove_atRemoves the specified external link from the workbook.
remove_atRemoves 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