Version

Using Predefined Shapes

This topic outlines the support of shapes for the Infragistics Excel Engine and provides a code snippet demonstrating usage.

This topic is organized as follows:

Introduction

Microsoft Excel allows a user to use predefined shapes in their worksheets. The Infragistics Excel Engine supports shapes though a collection of shapes which already exists on the worksheet. This feature adds to the existing support by allowing more shape types to be created.

Supported Shape Types

The table below lists the currently supported predefined shape types.

Shape Type Preview

Rectangle

ExcelEngine Using Predefined Shapes 01.png

Ellipse

ExcelEngine Using Predefined Shapes 02.png

Diamond

ExcelEngine Using Predefined Shapes 03.png

RightTriangle

ExcelEngine Using Predefined Shapes 04.png

Line

ExcelEngine Using Predefined Shapes 05.png

StraightConnector1

ExcelEngine Using Predefined Shapes 06.png

Pentagon

ExcelEngine Using Predefined Shapes 07.png

IrregularSeal1

ExcelEngine Using Predefined Shapes 08.png

IrregularSeal2

ExcelEngine Using Predefined Shapes 09.png

LightningBolt

ExcelEngine Using Predefined Shapes 10.png

Heart

ExcelEngine Using Predefined Shapes 11.png

Supported Customizations for Shapes

The following table lists the supported customizations for shapes, together with the properties that manage them.

Customization Property Allowed Values Default Value

Color Fill

Fill

Color (type)

FF4F81BD (FromArgb)

Color Outline

Outline

Color (type)

FF385D8A (FromArgb)

Flip Vertically

FlippedVertically

True/False

False

Flip Horizontally

FlippedHorizontally

True/False

False