ShapeBase module
- class ShapeBase.ShapeBase
Bases:
ParagraphBase
Base class for shapes.
- AdjustWithEffects(source: RectangleF) RectangleF
- property AlternativeText: str
Gets or sets the alternative text.
- property Bottom: float
Get the bottom position of the shape.
- property ChildObjects: DocumentObjectCollection
Gets the child objects of the entity.
- property CoordOrigin: Point
- property CoordSize: Size
- property DistanceBottom: float
Get the distance from the bottom of the shape.
- property DistanceLeft: float
Get the distance from the left of the shape.
- property DistanceRight: float
Get the distance from the right of the shape.
- property DistanceTop: float
Get the distance from the top of the shape.
- FetchInheritedShapeAttr(key: int) SpireObject
- FetchShapeAttr(key: int) SpireObject
- GetDirectShapeAttr(key: int) SpireObject
- GetDirectShapeAttribute(key: int) SpireObject
- GetInheritedShapeAttribute(key: int) SpireObject
- GetShapeAttribute(key: int) SpireObject
- property HasImage: bool
Check if the shape has an image.
- HasKey(key: int) bool
- property Height: float
Get the height of the shape.
- property HorizontalAlignment: ShapeHorizontalAlignment
- property HorizontalOrigin: HorizontalOrigin
- property HorizontalPosition: float
- property IsSignatureLine: bool
- LocalToParent(value: PointF) PointF
- RemoveShapeAttr(key: int)
- RemoveShapeAttribute(key: int)
- property Right: float
Get the right position of the shape.
- property Rotation: float
Get the rotation of the shape.
- SetShapeAttr(key: int, value: SpireObject)
- SetShapeAttribute(key: int, value: SpireObject)
- SetShapeType(shapeType: ShapeType)
- property ShapeType: ShapeType
- property Size: SizeF
- property TextWrappingStyle: TextWrappingStyle
- property TextWrappingType: TextWrappingType
- property VerticalAlignment: ShapeVerticalAlignment
- property VerticalOrigin: VerticalOrigin
- property VerticalPosition: float
Get the vertical position of the shape.
- property Width: float
Get the width of the shape.
- property WrapType: TextWrappingStyle
- property ZOrder: int