GetReferredFootnotesAt Method (Python)
Returns an SpssFootnotes
object, which allows access to all the footnotes referred to by
the specified label cell.
- The returned footnotes array is a subset of the array
returned by the
FootnotesArray
method of theSpssPivotTable
class. You can manipulate the subset using the same properties and methods, but the index of a footnote in this array is in no way related to the index of the same footnote when accessed from the pivot table.
Syntax
SpssFootnotes=SpssLabels.GetReferredFootnotesAt(row,column)
Parameters
row. Row index in the label array
column. Column index in the label array
Example
This example gets the footnotes for the column label with row index
1 and column index 1 (in the column label array) and sets the text
color and text style of the first footnote (index value 0) to red
and bold respectively. It assumes that PivotTable
is an SpssPivotTable
object.
Labels = PivotTable.ColumnLabelArray()
Footnotes = Labels.GetReferredFootnotesAt(1,1)
Footnotes.SetTextStyleAt(0,SpssClient.SpssTextStyleTypes.SpssTSBold)
Footnotes.SetTextColorAt(0,255)