Share via


Bookmark.ExportFragment Method

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.String
    The full path of the file in which to save the document fragment.

.NET Framework Security

See Also

Reference

Bookmark Interface

Microsoft.Office.Tools.Word Namespace