String Attribute
Last updated
Was this helpful?
Last updated
Was this helpful?
The StringAttribute captures plain text data.
When a String attribute value (the text) is inserted into a Word document, the content is displayed with the Normal style of the target word document. Thus, the same text values will appear in different styles when inserted in different word documents if these word documents use different formatting for their Normal style.
The DefaultText attribute can be used to set a default text. The value is applied when the Document Object is created.
When setting the SingleLine attribute to true, the text field is displayed as a single line and does not accept any carriage returns or row breaks. This is useful when only a short text is expected.