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

    Show / Hide Table of Contents

    Inline Class

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

    Represents a base class for all inline elements, like Run, DrawingElement, Hyperlink, Field, BookmarkStart, BookmarkEnd, SpecialCharacter and PreservedInline.

    • C#
    • VB.NET
    public abstract class Inline : Element
    Public MustInherit Class Inline
        Inherits Element
    Inheritance:
    System.Object
    Element
    Inline
    Derived
    AlignmentTab
    BookmarkEnd
    BookmarkStart
    CommentEnd
    CommentStart
    InlineContentControl
    DrawingElement
    Field
    Hyperlink
    Note
    OleObject
    PreservedInline
    Run
    SpecialCharacter
    MoveRangeSeparator
    Remarks

    Inline elements are contained in the same line with other inline elements that are in the same InlineCollection.

    Inline elements, predominantly Runs, are contained in a Paragraph or other inline content elements, such as Hyperlink or a Field.

    For more information, see GemBox.Document Content Model.

    Properties

    ParentCollection

    Gets the InlineCollection that contains this Inline instance.

    • C#
    • VB.NET
    public InlineCollection ParentCollection { get; }
    Public ReadOnly Property ParentCollection As InlineCollection
    Property Value
    InlineCollection

    The InlineCollection that contains this Inline instance.

    Revision

    Gets or sets the revision information for the inline.

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

    The revision information for the inline.

    Methods

    Clone(Boolean)

    Clones this Inline instance.

    • C#
    • VB.NET
    public Inline Clone(bool cloneDescendants)
    Public Function Clone(cloneDescendants As Boolean) As Inline
    Parameters
    cloneDescendants
    System.Boolean

    If set to true clone all descendants recursively; otherwise clone only current Inline.

    Returns
    Inline

    Cloned Inline.

    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.

    Inherited Properties

    Content

    Gets the content of the current Element.

    (Inherited from Element)

    Document

    Gets the owner document.

    (Inherited from Element)

    ElementType

    Gets the ElementType of this Element instance.

    (Inherited from Element)

    Parent

    Gets the parent of this Element instance.

    (Inherited from Element)

    Inherited Methods

    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)

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.