• Material
  • Fabric
  • Bootstrap
  • Bootstrap v4
  • High Contrast
Theme Selection
Mode Selection
*Translated by Google Translator.

Example of AutoShapes in ASP.NET MVC XlsIO Control

This sample demonstrates how to use AutoShapes in spreadsheets using XlsIO.

Click the button to view an Excel spreadsheet generated by Essential XlsIO. Please note that Microsoft Excel Viewer or Microsoft Excel is required to view the resultant document.

AutoShapes help you to draw objects on your document. You can create various shapes using AutoShapeType enumeration. Once you insert an AutoShape, you can also put a text inside it and you can move or resize them as you wish.

The IShape interface is the in-memory representation of the AutoShapes in an Excel workbook. These are used to create Autoshapes and to set properties for those shapes. The ITextFrame interface can be used to set various shape text formats.


Essential XlsIO supports all major AutoShape features.This sample demonstrates following features:

  • Shape Text
  • Text Alignment
  • SolidFill