source_full_name property
Chart.source_full_name property
Gets the path and name of an xls/xlsx file this chart is linked to.
@property
def source_full_name(self) -> str:
...
@source_full_name.setter
def source_full_name(self, value: str):
...
Examples
Shows how to get the full name of the external xls/xlsx document if the chart is linked.
doc = aw.Document(MY_DIR + 'Shape with linked chart.docx')
shape = doc.get_child(aw.NodeType.SHAPE, 0, True).as_shape()
source_fullname = shape.chart.source_full_name
self.assertTrue(source_fullname.find('Examples\\Data\\Spreadsheet.xlsx') != -1)
See Also
- module aspose.words.drawing.charts
- class Chart