TCSCConverter Method

Microsoft Word Visual Basic

Show All

TCSCConverter Method

       

Converts the specified range from Traditional Chinese to Simplified Chinese or vice versa.

expression.TCSCConverter(WdTCSCConverterDirection, CommonTerms, UseVariants)

expression   Required. An expression that returns one of the objects in the Applies To list.

WdTCSCConverterDirection  Optional WdTCSCConverterDirection.

WdTCSCConverterDirection can be one of these WdTCSCConverterDirection constants.
wdTCSCConverterDirectionAuto default Converts in the appropriate direction based on the detected language of the specified range.
wdTCSCConverterDirectionSCTC  Converts from Simplified Chinese to Traditional Chinese.
wdTCSCConverterDirectionTCSC  Converts from Traditional Chinese to Simplified Chinese.

CommonTerms  Optional BooleanTrue if Microsoft Word converts common expressions intact rather than converting on a character-by-character basis.

UseVariants  Optional Boolean. True if Word uses Taiwan, Hong Kong SAR, and Macao character variants. Can only be used if translating from Simplified Chinese to Traditional Chinese.

Remarks

For more information on using Word with Asian languages, see Word features for Asian languages.

Example

This example converts the current selection from Simplified Chinese to Traditional Chinese. It converts common expressions intact and uses regional character variants.

Selection.Range.TCSCConverter _
    wdTCSCConverterDirectionSCTC, True, True