Documentation Center

PslTransList.DecorateText

Adds additional leading or trailing characters to Text. Which characters are added depends on the settings in the tab Edit in the dialog Options.

Syntax

Expression.DecorateText (Text as String, RefText as String) as void

Expression Required. Object of type PslTransList

Text Text to be extended

RefText RefText is used as a pattern to determine the characters to be added.

Example

Dim Text As String
Text = "Öffnen"
PSL.ActiveTransList.DecorateText(Text, "Open...")
' Should display "Öffnen... "
MsgBox(Text)