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

    Show / Hide Table of Contents

    XmlMapping Class

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

    Specifies the mapping between a content control and a custom XML part or a document property.

    • C#
    • VB.NET
    public class XmlMapping
    Public Class XmlMapping
    Inheritance:
    System.Object
    XmlMapping

    Constructors

    XmlMapping(DocumentModel)

    Initializes a new instance of the XmlMapping class.

    • C#
    • VB.NET
    public XmlMapping(DocumentModel document)
    Public Sub New(document As DocumentModel)
    Parameters
    document
    DocumentModel

    The owner document.

    Properties

    BuiltInDocumentProperty

    Gets the built-in document property that is mapped to the content control.

    • C#
    • VB.NET
    public BuiltInDocumentProperty? BuiltInDocumentProperty { get; }
    Public ReadOnly Property BuiltInDocumentProperty As BuiltInDocumentProperty?
    Property Value
    System.Nullable<BuiltInDocumentProperty>

    The built-in document property that is mapped to the content control. Null if the content control is not mapped with any built-in document property.

    CustomXmlPart

    Gets or sets the custom XML part that will be used to evaluate the given XPath expression.

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

    The custom XML part that will be used to evaluate the given XPath expression.

    PrefixMappings

    Gets or sets a value that specifies the set of prefix mappings that will be used to interpret the XPath expression.

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

    The value that specifies the set of prefix mappings that will be used to interpret the XPath expression.

    XPath

    Gets or sets the XPath expression that will be evaluated to find the custom XML node mapped to the content control.

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

    The XPath expression that will be evaluated to find the custom XML node mapped to the content control.

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.