GemBox.Document
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    XmlLoadOptions Class

    Namespace:
    GemBox.Document
    Assembly:
    GemBox.Document.dll

    Represents a class that stores loading options for XML format, currently Flat OPC XML and WordML formats are supported.

    Flat OPC XML file can be created in MS Word by using "Word XML Document (*.xml)" as a save format.

    WordML XML file can be created in MS Word by using "Word 2003 XML Document (*.xml)" as a save format.

    • C#
    • VB.NET
    public class XmlLoadOptions : LoadOptions
    Public Class XmlLoadOptions
        Inherits LoadOptions
    Inheritance:
    System.Object
    LoadOptions
    XmlLoadOptions

    Constructors

    XmlLoadOptions()

    Initializes a new instance of the XmlLoadOptions class.

    • C#
    • VB.NET
    public XmlLoadOptions()
    Public Sub New

    Properties

    Password

    Gets or sets the password to open protected / encrypted document.

    • C#
    • VB.NET
    public string Password { get; set; }
    Public Property Password As String
    Property Value
    System.String

    The password to open protected / encrypted document.

    XmlType

    Gets or sets the type of XML which should be imported.

    • C#
    • VB.NET
    public XmlType XmlType { get; set; }
    Public Property XmlType As XmlType
    Property Value
    XmlType

    The XmlType value for the type of XML which should be imported.

    Remarks

    Valid XML types when importing are FlatOPC and WordML.

    Inherited Properties

    DocDefault

    Gets the default loading options for Microsoft Word 97-2003 (DOC) format.

    (Inherited from LoadOptions)

    DocxDefault

    Gets the default loading options for Microsoft Word (DOCX) format.

    (Inherited from LoadOptions)

    HtmlDefault

    Gets the default loading options for HyperText Markup Language (HTML) format.

    (Inherited from LoadOptions)

    OdtDefault

    Gets the default loading options for Open Document (ODT) format.

    (Inherited from LoadOptions)

    PdfDefault

    Gets the default loading options for Portable Document Format (PDF).

    (Inherited from LoadOptions)

    PreserveUnsupportedFeatures

    Gets or sets a value indicating whether to preserve file format features that are not directly supported through GemBox.Document object model.

    (Inherited from LoadOptions)

    RtfDefault

    Gets the default loading options for Rich Text (RTF) format.

    (Inherited from LoadOptions)

    TxtDefault

    Gets the default loading options for Plain Text (TXT) format.

    (Inherited from LoadOptions)

    XmlDefault

    Gets the default loading options for XML file format.

    (Inherited from LoadOptions)

    Examples

    Convert between Word files and HTML pages in C# and VB.NET
    Convert Word and HTML to PDF in C# and VB.NET
    Open and read Word file in C# and VB.NET
    DOCX Encryption in C# and VB.NET

    See Also

    XmlDefault
    Load(String, LoadOptions)
    Load(Stream, LoadOptions)
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.