SetTextStyle Method (Python)

Sets the bold or italic style of the text in the selected cells of the pivot table.

Syntax

SpssPivotTable.SetTextStyle(style)

Table 1. Text style types
Type Description
SpssClient.SpssTextStyleTypes.SpssTSRegular Regular
SpssClient.SpssTextStyleTypes.SpssTSItalic Italic
SpssClient.SpssTextStyleTypes.SpssTSBold Bold
SpssClient.SpssTextStyleTypes.SpssTSBoldItalic Bold Italic