Expand Minimize

Bookmark.ExportFragment Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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)

void ExportFragment(
	string FileName,
	WdSaveFormat Format
)

Parameters

FileName
Type: System.String

The full path of the file in which to save the document fragment.

Format
Type: Microsoft.Office.Interop.Word.WdSaveFormat

One 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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft