Hi, Support,
Texts encoded in traditional Chinese in documents are required to convert into simplified Chinese ones based on aspose.words.dll version 14 and VB.net 2008, how to perform it?
Thank in advance!
Ducaisoft
Hi, Support,
Texts encoded in traditional Chinese in documents are required to convert into simplified Chinese ones based on aspose.words.dll version 14 and VB.net 2008, how to perform it?
Thank in advance!
Ducaisoft
Thanks for your inquiry. Unfortunately, Aspose.Words does not support the requested feature. However, you can use third party tool to convert traditional Chinese text into simplified Chinese i.e. Google Translate API.
We apologize for your inconvenience.
Dim runs() As Aspose.Words.Node = Doc.GetChildNodes(Aspose.Words.NodeType.Run, True).ToArray()
For Each run As Aspose.Words.Run In runs
Dim s As String = run.Range.Text
Dim NewS As String = StrConv(s, VbStrConv.SimplifiedChinese)
If NewS <> s Then Dim rn As Long = run.Range.Replace(s, NewS, False, False)
Application.DoEvents()
Next
Thanks for your inquiry. It is nice to hear form you that you have found the solution of your query. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.