Diese Dokumentation wurde archiviert und wird nicht länger gepflegt.

_Document.ConvertNumbersToText Method

Changes the list numbers and LISTNUM fields in the specified object to text.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

'Usage
Dim NumberType As Object
Dim _Document1 As _Document
_Document1.ConvertNumbersToText(NumberType)

void ConvertNumbersToText(
	[In, Optional] ref object NumberType
);
public void ConvertNumbersToText(
	/*in*/System.Object NumberType
);
function ConvertNumbersToText(
	 NumberType : Object
);

Parameters

NumberType

Optional Object. The type of number to be converted. Can be any of the WdNumberType constants.

There are two types of numbers: preset numbers (wdNumberParagraph), which you can add to paragraphs by selecting a template in the Bullets and Numbering dialog box; and LISTNUM fields (wdNumberListNum), which allow you to add more than one number per paragraph.

The ConvertNumbersToText method is useful if you want to work with a document in another application and that application doesn't recognize list formatting or LISTNUM fields.

After you've converted list numbers to text, you can no longer manipulate them in a list.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Anzeigen: