DocumentBase.ConvertVietDoc(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts a Vietnamese document to Unicode using a code page other than the default.
public:
void ConvertVietDoc(int codePageOrigin);
public void ConvertVietDoc (int codePageOrigin);
member this.ConvertVietDoc : int -> unit
Public Sub ConvertVietDoc (codePageOrigin As Integer)
Parameters
- codePageOrigin
- Int32
The original code page used to encode the document.
Examples
The following code example uses the ConvertVietDoc method to convert the active document from the Vietnamese ABC code page to Unicode. This example assumes that the active document is encoded using the Vietnamese ABC code page. To use this example, run it from the ThisDocument
class in a document-level project.
private void DocumentConvertVietDoc()
{
this.ConvertVietDoc(5);
}
Private Sub DocumentConvertVietDoc()
Me.ConvertVietDoc(5)
End Sub
Remarks
Use the ConvertVietDoc method if you want a document to be viewable on another computer or platform.