Inline Class
Represents a base class for all inline elements, like Run, DrawingElement, Hyperlink, Field, BookmarkStart, BookmarkEnd, SpecialCharacter and PreservedInline.
- Inheritance:
- System.ObjectInline
- Derived
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.
public InlineCollection ParentCollection { get; }
Public ReadOnly Property ParentCollection As InlineCollection
Property Value
The InlineCollection that contains this Inline instance.
Revision
Gets or sets the revision information for the inline.
Property Value
The revision information for the inline.
Methods
Clone(Boolean)
Clones this Inline instance.
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
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) |