DocumentBase.ConvertVietDoc(Int32) Method

Definition

Converts a Vietnamese document to Unicode using a code page other than the default.

public void ConvertVietDoc (int codePageOrigin);

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);
}

Remarks

Use the ConvertVietDoc method if you want a document to be viewable on another computer or platform.

Applies to

Ürün Sürümler
Visual Studio Tools for Office 2017, 2019, 2022