XlsOvalShape module
- class XlsOvalShape.XlsOvalShape
Bases:
XlsShape,IOvalShapeRepresents an oval shape in an Excel worksheet.
This class provides properties and methods for manipulating oval shapes in Excel, including text settings, alignment, hyperlinks, and other oval-specific functionality. It extends XlsShape and implements the IOvalShape interface.
- property HAlignment: CommentHAlignType
Gets or sets the horizontal alignment of text in the oval shape.
- Returns:
An enumeration value representing the horizontal alignment.
- Return type:
CommentHAlignType
- property HyLink: IHyperLink
Gets the hyperlink associated with the oval shape.
- Returns:
An object representing the hyperlink associated with the oval shape.
- Return type:
IHyperLink
- property IsTextLocked: bool
Gets or sets whether the text in the oval shape is locked.
- Returns:
True if the text is locked, False otherwise.
- Return type:
bool
- property PrstShapeType: PrstGeomShapeType
Gets the preset geometry shape type of the oval shape.
- Returns:
An enumeration value representing the preset geometry shape type.
- Return type:
PrstGeomShapeType
- property RichText: IRichTextString
Gets the rich text formatting for the text in the oval shape.
- Returns:
An object representing the rich text formatting.
- Return type:
IRichTextString
- property ShapeType: ExcelShapeType
Gets the shape type of the oval shape.
- Returns:
An enumeration value representing the shape type of the oval.
- Return type:
ExcelShapeType
- property Text: str
Gets or sets the text displayed in the oval shape.
- Returns:
The text displayed in the oval shape.
- Return type:
str
- property TextRotation: TextRotationType
Gets or sets the text rotation in the oval shape.
- Returns:
An enumeration value representing the text rotation.
- Return type:
TextRotationType
- property VAlignment: CommentVAlignType
Gets or sets the vertical alignment of text in the oval shape.
- Returns:
An enumeration value representing the vertical alignment.
- Return type:
CommentVAlignType
