CreateTextItem Method (Python)

Returns an SpssOutputItem object for a new text item. To insert the text item into the output document, use the InsertChildItem method in the SpssHeaderItem class.

Syntax

SpssOutputItem=SpssOutputDoc.CreateTextItem(content)

Parameters

content. A string specifying the content of the text item. The value can be specified as plain text, HTML, or rich text format. For HTML, embed markup in a <html></html> block. For rich text format, specify the string as a raw string to avoid unintentional escape sequences.