Click or drag to resize

DrawingElement Class

Represents a base class for all drawings (shapes, text-boxes, pictures, etc.).
Inheritance Hierarchy

Namespace:  GemBox.Document.Drawing
Assembly:  GemBox.Document (in GemBox.Document.dll) Version:
public abstract class DrawingElement : Inline

The DrawingElement type exposes the following members.

Public propertyContent
Gets the content of the current Element.
(Inherited from Element.)
Public propertyDocument
Gets the owner document.
(Inherited from Element.)
Public propertyElementType
Gets the ElementType of this Element instance.
(Inherited from Element.)
Public propertyLayout
Gets or sets the DrawingElement layout (position and size).
Public propertyMetadata
Gets the metadata (non-visual properties) of this DrawingElement instance.
Public propertyParent
Gets the parent of this Element instance.
(Inherited from Element.)
Public propertyParentCollection
Gets the InlineCollection that contains this Inline instance.
(Inherited from Inline.)
Public methodClone
Clones this DrawingElement instance.
Public methodGetChildElements(Boolean)
Gets the child elements.
(Inherited from Element.)
Public methodGetChildElements(Boolean, ElementType)
Gets the child elements filtered by ElementType.
(Inherited from Element.)

DrawingElement can contain metadata (non-visual properties) which is available through DrawingElement.Metadata property.

DrawingElement can be positioned in-line with the rest of the document content or floating within document content. For more information, see remarks for DrawingElement.Layout property.

See Also