Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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