SetTextStyleAt Method (Python)

Sets the bold or italic style of the text for the specified layer dimension.

Syntax

SpssLayerLabels.SetTextStyleAt(index,style)

Parameters

index. Index of the layer dimension

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