Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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: WdSaveFormatOne of the 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.