.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Shape Interface

A drawing object embedded in a document.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v20.1.Core.dll


public interface Shape :
Public Interface Shape
    Inherits DrawingObject


The Shape class represents the following objects:

  • Shapes (including inline)
  • Text Boxes
  • Pictures

Use the SubDocument.Shapes property to access ShapeCollection that contains Shape objects.

The Shape.Range property specifies the shape's anchoring range. You can position the shape anywhere on the page that contains the anchor.

Set the Shape.TextWrapping property to TextWrappingType.InLineWithText to convert a floating object to inline.

Call the Shape.AddHyperlink method to add a hyperlink to a shape.

See Also