DocumentClass.ExportAsFixedFormat Method

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Public Overridable Sub ExportAsFixedFormat ( _
    OutputFileName As String, _
    ExportFormat As WdExportFormat, _
    OpenAfterExport As Boolean, _
    OptimizeFor As WdExportOptimizeFor, _
    Range As WdExportRange, _
    From As Integer, _
    To As Integer, _
    Item As WdExportItem, _
    IncludeDocProps As Boolean, _
    KeepIRM As Boolean, _
    CreateBookmarks As WdExportCreateBookmarks, _
    DocStructureTags As Boolean, _
    BitmapMissingFonts As Boolean, _
    UseISO19005_1 As Boolean, _
    ByRef FixedFormatExtClassPtr As Object _
)
'Usage
Dim instance As DocumentClass
Dim OutputFileName As String
Dim ExportFormat As WdExportFormat
Dim OpenAfterExport As Boolean
Dim OptimizeFor As WdExportOptimizeFor
Dim Range As WdExportRange
Dim From As Integer
Dim To As Integer
Dim Item As WdExportItem
Dim IncludeDocProps As Boolean
Dim KeepIRM As Boolean
Dim CreateBookmarks As WdExportCreateBookmarks
Dim DocStructureTags As Boolean
Dim BitmapMissingFonts As Boolean
Dim UseISO19005_1 As Boolean
Dim FixedFormatExtClassPtr As Object

instance.ExportAsFixedFormat(OutputFileName, _
    ExportFormat, OpenAfterExport, OptimizeFor, _
    Range, From, To, Item, IncludeDocProps, _
    KeepIRM, CreateBookmarks, DocStructureTags, _
    BitmapMissingFonts, UseISO19005_1, _
    FixedFormatExtClassPtr)
public virtual void ExportAsFixedFormat(
    string OutputFileName,
    WdExportFormat ExportFormat,
    bool OpenAfterExport,
    WdExportOptimizeFor OptimizeFor,
    WdExportRange Range,
    int From,
    int To,
    WdExportItem Item,
    bool IncludeDocProps,
    bool KeepIRM,
    WdExportCreateBookmarks CreateBookmarks,
    bool DocStructureTags,
    bool BitmapMissingFonts,
    bool UseISO19005_1,
    ref Object FixedFormatExtClassPtr
)

Parameters

Implements

_Document.ExportAsFixedFormat(String, WdExportFormat, Boolean, WdExportOptimizeFor, WdExportRange, Int32, Int32, WdExportItem, Boolean, Boolean, WdExportCreateBookmarks, Boolean, Boolean, Boolean, Object%)

See Also

Reference

DocumentClass Class

DocumentClass Members

Microsoft.Office.Interop.Word Namespace