textTransform Property
Sets or returns a String that represents whether text is displayed by using uppercase, lowercase, or mixed case.
expression.textTransform
*expression * Required. An expression that returns one of the objects in the Applies To list.
Remarks
The textTransform property can be one of the following String values:
Value | Description |
---|---|
none |
Text is not transformed. |
capitalize |
Transforms the first character of each word to uppercase. |
uppercase |
Transforms all the characters to uppercase. |
lowercase |
Transforms all the characters to lowercase. |
Example
The following example displays the text in the body of the active document in uppercase characters.
Dim objStyle As FPHTMLStyle
Set objStyle = ActiveDocument.body.Style
objStyle.textTransform = "uppercase"
Applies to | FPHTMLStyle Object | IFPStyleState Object | IHTMLRuleStyle Object | IHTMLStyle Object