Back to Devexpress

TdxSpreadSheetShapeType Enum

vcl-dxspreadsheetcontainers-44e8a050.md

latest2.3 KB
Original Source

TdxSpreadSheetShapeType Enum

Enumerates geometric shapes available for floating container object creation.

Declaration

delphi
TdxSpreadSheetShapeType = (
    stRect,
    stRoundRect,
    stEllipse
);

Members

Name
stRect
stRoundRect
stEllipse

Remarks

Options include:

|

Type Value Used in Code

|

Shape Description

|

Sample

| | --- | --- | --- | |

TdxSpreadSheetShapeType.stRect

|

A square or rectangle, depeding on the floating container’s aspect ratio. This is the only shape available for comment containers.

|

| |

TdxSpreadSheetShapeType.stRoundRect

|

A square or rectangle with rounded corners, depending on the floating container’s aspect ratio. This shape type option is ignored by comment containers.

|

| |

TdxSpreadSheetShape.stEllipse

|

An ellipse or circle, depending on the floating container’s aspect ratio. This shape type option is ignored by comment containers.

|

|

The TdxSpreadSheetShapeType type is referenced by the Shape.ShapeType property provided by the TdxSpreadSheetPictureContainer, TdxSpreadSheetTextBoxContainer, TdxSpreadSheetCommentContainer, and TdxSpreadSheetShapeContainer classes.

Note

Always use the scope resolution token ( . in Delphi or :: in C++Builder) with the TdxSpreadSheetShapeType type values. Despite the fact that the Shape.ShapeType property is provided by the TdxSpreadSheetCommentContainer class, it has no visual effect for comment containers.

See Also

dxSpreadSheetContainers Unit