AutoShape
概述
AutoShape 是 Aspose.Slides FOSS .NET 库中的一个类,继承自 GeometryShape。它继承了 GeometryShape 的完整公共接口,并可能在下表中添加额外的成员。通过包含父对象上公开的工厂方法或集合属性获取实例。请参阅包文档以获取安装说明以及相关类型的完整列表。
包: Aspose.Slides.Foss
属性
| Name | Type | Access | Description |
|---|---|---|---|
ShapeType | ShapeType | Read/Write | Gets or sets the shape type. |
TextFrame | ITextFrame? | Read | Gets the text frame. |
IsTextBox | bool | Read | Gets the is text box. |
AsIGeometryShape | IGeometryShape | Read | Gets the as i geometry shape. |
ShapeStyle | IShapeStyle? | Read | Gets the shape style. |
Adjustments | IAdjustValueCollection? | Read | Gets the adjustments. |
IsTextHolder | bool | Read | Gets the is text holder. |
Placeholder | IPlaceholder? | Read | Gets the placeholder. |
CustomData | ICustomData? | Read | Gets the custom data. |
LineFormat | ILineFormat | Read | Gets the line format. |
ThreeDFormat | IThreeDFormat | Read | Gets the three d format. |
EffectFormat | IEffectFormat | Read | Gets the effect format. |
FillFormat | IFillFormat | Read | Gets the fill format. |
RawFrame | IShapeFrame | Read/Write | Gets or sets the raw frame. |
Frame | IShapeFrame | Read/Write | Gets or sets the frame. |
Hidden | bool | Read/Write | Gets or sets the hidden. |
ZOrderPosition | int | Read | Gets the z order position. |
ConnectionSiteCount | int | Read | Gets the connection site count. |
Rotation | float | Read/Write | Gets or sets the rotation. |
X | float | Read/Write | Gets or sets the x. |
Y | float | Read/Write | Gets or sets the y. |
Width | float | Read/Write | Gets or sets the width. |
Height | float | Read/Write | Gets or sets the height. |
UniqueId | int | Read | Gets the unique id. |
OfficeInteropShapeId | int | Read | Gets the office interop shape id. |
AlternativeText | string | Read/Write | Gets or sets the alternative text. |
AlternativeTextTitle | string | Read/Write | Gets or sets the alternative text title. |
Name | string | Read/Write | Gets or sets the name. |
IsDecorative | bool | Read/Write | Gets or sets the is decorative. |
IsGrouped | bool | Read | Gets the is grouped. |
AsISlideComponent | ISlideComponent | Read | Gets the as i slide component. |
AsIPresentationComponent | IPresentationComponent | Read | Gets the as i presentation component. |
Slide | IBaseSlide? | Read | Gets the slide. |
Presentation | IPresentation? | Read | Gets the presentation. |
方法
| Signature | Description |
|---|---|
AddTextFrame(text: string?) | Adds a text frame to the shape, optionally initializing it with the given text |