menu

Document Processing

ImportOptions Class - C# Word Library API Reference | Syncfusion

    Show / Hide Table of Contents

    ImportOptions Class

    Specifies the Import options.

    Inheritance
    System.Object
    ImportOptions
    Namespace: Syncfusion.DocIO.DLS
    Assembly: Syncfusion.DocIO.Base.dll
    Syntax
    public sealed class ImportOptions : Enum

    Fields

    KeepSourceFormatting

    Imports the contents from the source document, applies the default style (Normal), and preserves all other formatting as direct formatting in order to preserve the contents as in source document.

    Declaration
    public const ImportOptions KeepSourceFormatting
    Field Value
    Type
    ImportOptions

    KeepTextOnly

    Imports only the text from the source document to the destination document.

    Declaration
    public const ImportOptions KeepTextOnly
    Field Value
    Type
    ImportOptions

    ListContinueNumbering

    Imports the contents of the source document to the destination document, and continues the list numbering.

    Declaration
    public const ImportOptions ListContinueNumbering
    Field Value
    Type
    ImportOptions

    ListRestartNumbering

    Imports the contents of the source document to the destination document, and restarts the list numbering.

    Declaration
    public const ImportOptions ListRestartNumbering
    Field Value
    Type
    ImportOptions

    MergeFormatting

    Imports the contents of the source document to the destination document, and applies the formatting of surrounding content to the destination document.

    Declaration
    public const ImportOptions MergeFormatting
    Field Value
    Type
    ImportOptions

    UseDestinationStyles

    Imports the contents of the source document to the destination document, and applies the styles present in the destination document, or imports the source style to the destination document when there is no style with the same name in the destination document.

    Declaration
    public const ImportOptions UseDestinationStyles
    Field Value
    Type
    ImportOptions
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved