Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Exports the Bookmark to a document for use as a document fragment.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
Syntax
'Declaration
Sub ExportFragment ( _
FileName As String, _
Format As WdSaveFormat _
)
void ExportFragment(
string FileName,
WdSaveFormat Format
)
Parameters
FileName
Type: System.StringThe full path of the file in which to save the document fragment.
Format
Type: Microsoft.Office.Interop.Word.WdSaveFormatOne of the Microsoft.Office.Interop.Word.WdSaveFormat values that specifies the file format of the document fragment file. You can save a document fragment in any format that Microsoft Office Word supports.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.