AutoShape

概述

AutoShape 是 Aspose.Slides FOSS .NET 库中的一个类,继承自 GeometryShape。它继承了 GeometryShape 的完整公共接口,并可能在下表中添加额外的成员。通过包含父对象上公开的工厂方法或集合属性获取实例。请参阅包文档以获取安装说明以及相关类型的完整列表。

: Aspose.Slides.Foss


属性

NameTypeAccessDescription
ShapeTypeShapeTypeRead/WriteGets or sets the shape type.
TextFrameITextFrame?ReadGets the text frame.
IsTextBoxboolReadGets the is text box.
AsIGeometryShapeIGeometryShapeReadGets the as i geometry shape.
ShapeStyleIShapeStyle?ReadGets the shape style.
AdjustmentsIAdjustValueCollection?ReadGets the adjustments.
IsTextHolderboolReadGets the is text holder.
PlaceholderIPlaceholder?ReadGets the placeholder.
CustomDataICustomData?ReadGets the custom data.
LineFormatILineFormatReadGets the line format.
ThreeDFormatIThreeDFormatReadGets the three d format.
EffectFormatIEffectFormatReadGets the effect format.
FillFormatIFillFormatReadGets the fill format.
RawFrameIShapeFrameRead/WriteGets or sets the raw frame.
FrameIShapeFrameRead/WriteGets or sets the frame.
HiddenboolRead/WriteGets or sets the hidden.
ZOrderPositionintReadGets the z order position.
ConnectionSiteCountintReadGets the connection site count.
RotationfloatRead/WriteGets or sets the rotation.
XfloatRead/WriteGets or sets the x.
YfloatRead/WriteGets or sets the y.
WidthfloatRead/WriteGets or sets the width.
HeightfloatRead/WriteGets or sets the height.
UniqueIdintReadGets the unique id.
OfficeInteropShapeIdintReadGets the office interop shape id.
AlternativeTextstringRead/WriteGets or sets the alternative text.
AlternativeTextTitlestringRead/WriteGets or sets the alternative text title.
NamestringRead/WriteGets or sets the name.
IsDecorativeboolRead/WriteGets or sets the is decorative.
IsGroupedboolReadGets the is grouped.
AsISlideComponentISlideComponentReadGets the as i slide component.
AsIPresentationComponentIPresentationComponentReadGets the as i presentation component.
SlideIBaseSlide?ReadGets the slide.
PresentationIPresentation?ReadGets the presentation.

方法

SignatureDescription
AddTextFrame(text: string?)Adds a text frame to the shape, optionally initializing it with the given text

另请参阅

 中文