Shapes in ASP.NET MVC DOCX Editor

27 Aug 20261 minute to read

Shapes are drawing objects that include text boxes, rectangles, lines, curves, circles, and so on. They can be preset or custom geometry. The DOCX Editor does not currently support inserting shapes. However, if the imported document contains a shape, the shape is preserved.

Supported shapes

The DOCX Editor has preservation support for lines, rectangles, basic shapes, block arrows, equation shapes, flowchart shapes, and stars and banners.

List of supported shapes in the DOCX Editor

When using the ASP.NET MVC service, the unsupported shapes are converted into images and preserved as images.

Text Box Shape

A text box is a rectangular area on the document where you can enter text. When you click in a text box, a flashing cursor displays, indicating that you can begin typing. It supports multiple lines of text with all text formatting.

Text box shape view in the DOCX Editor

Shape Resizer

The DOCX Editor also supports a built-in shape resizer to resize the shapes present in the document. The shape resizer accepts both touch and mouse interactions.

Shape resizer view in the DOCX Editor

Text wrapping style

Text wrapping refers to how shapes fit with surrounding text in a document. Refer to this page for more information about text wrapping styles available in Word documents.

Positioning the shape

The DOCX Editor preserves the position properties of shapes and displays them based on those properties. It does not support modifying the position properties. However, a shape positioned relative to a line or paragraph moves automatically when the surrounding text is edited.

Online Demo

Explore how to preserve AutoShapes and grouped shapes in Word documents using the ASP.NET MVC DOCX Editor in this live demo here.