Range.TCSCConverter Method
Word Developer Reference |
Converts the specified range from Traditional Chinese to Simplified Chinese or vice versa.
Syntax
expression.TCSCConverter(WdTCSCConverterDirection, CommonTerms, UseVariants)
expression Required. A variable that represents a Range object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
WdTCSCConverterDirection | Optional | WdTCSCConverterDirection | Specifies the direction in which text is converted. If omitted, the default value is wdTCSCConverterDirectionAuto, which converts in the appropriate direction based on the detected language of the specified range. |
UseVariants | Optional | Boolean | True if Word uses Taiwan, Hong Kong SAR, and Macao SAR character variants. Can only be used if translating from Simplified Chinese to Traditional Chinese. |
Example
This example converts the current selection from Simplified Chinese to Traditional Chinese. It converts common expressions intact and uses regional character variants.
Visual Basic for Applications |
---|
|
See Also