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

    Show / Hide Table of Contents

    PreservedInline Class

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

    Represents an Inline element that is loaded from a file and is not directly supported by GemBox.Document API.

    • C#
    • VB.NET
    public class PreservedInline : Inline
    Public Class PreservedInline
        Inherits Inline
    Inheritance:
    System.Object
    Element
    Inline
    PreservedInline
    Remarks

    This element can appear in document content only if file is loaded with the PreserveUnsupportedFeatures property set to true.

    For more information, see preservation article and preservation example.

    Properties

    ElementType

    Gets the ElementType of this Element instance.

    • C#
    • VB.NET
    public override ElementType ElementType { get; }
    Public Overrides ReadOnly Property ElementType As ElementType
    Property Value
    ElementType

    The ElementType of this Element instance.

    Overrides
    Element.ElementType

    Methods

    Clone()

    Clones this PreservedInline instance.

    • C#
    • VB.NET
    public PreservedInline Clone()
    Public Function Clone As PreservedInline
    Returns
    PreservedInline

    Cloned PreservedInline.

    Remarks

    Document content element instance can exist only in a one place in the document.

    If you want to insert document content element into some other part of the same document, then clone the element and insert its clone.

    If you want to insert document content element into another document, then you should first import it into another document with Import<T>(T, Boolean, Boolean) method and then insert the imported element.

    For more information, see cloning example.

    ToString()

    Returns a string that represents the current object.

    • C#
    • VB.NET
    public override string ToString()
    Public Overrides Function ToString As String
    Returns
    System.String

    A string that represents the current object.

    Overrides
    System.Object.ToString()

    Inherited Properties

    Content

    Gets the content of the current Element.

    (Inherited from Element)

    Document

    Gets the owner document.

    (Inherited from Element)

    Parent

    Gets the parent of this Element instance.

    (Inherited from Element)

    ParentCollection

    Gets the InlineCollection that contains this Inline instance.

    (Inherited from Inline)

    Revision

    Gets or sets the revision information for the inline.

    (Inherited from Inline)

    Inherited Methods

    Clone(System.Boolean)

    Clones this Inline instance.

    (Inherited from Inline)

    GetChildElements(System.Boolean)

    Gets the child elements.

    (Inherited from Element)

    GetChildElements(System.Boolean, ElementType[])

    Gets the child elements filtered by ElementType.

    (Inherited from Element)

    GetParentElements()

    Gets the parent elements.

    (Inherited from Element)

    GetParentElements(ElementType[])

    Gets the parent elements.

    (Inherited from Element)

    See Also

    LoadOptions
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.