AutoShape
סקירה
AutoShape היא מחלקה ב-Aspose.Slides FOSS עבור .NET. יורשת מ: GeometryShape, IAutoShape.
מייצגת AutoShape — צורה גאומטרית מוגדרת מראש או מותאמת אישית שעשויה להכיל טקסט.
מחלקה זו מספקת שיטה אחת לעבודה עם עצמים של AutoShape בתוכניות .NET. שיטות זמינות כוללות: AddTextFrame. כל החברים הציבוריים נגישים לכל יישום .NET לאחר התקנת חבילת Aspose.Slides FOSS עבור .NET. מאפיינים: Adjustments, AlternativeText, AlternativeTextTitle, AsIGeometryShape, AsIPresentationComponent, AsISlideComponent, ועוד 28 נוספים.
מאפיינים
| שם | Type | Access | תיאור |
|---|---|---|---|
ShapeType | ShapeType | קריאה/כתיבה | מקבל או מגדיר את סוג הצורה. |
TextFrame | ITextFrame? | קרא | Gets the text frame. |
IsTextBox | bool | Read | Gets the is text box. |
AsIGeometryShape | IGeometryShape | קרא | מקבל את הצורה של IGeometry. |
ShapeStyle | IShapeStyle? | Read | מקבל את סגנון הצורה. |
Adjustments | IAdjustValueCollection? | Read. | מקבל את ההתאמות. |
IsTextHolder | bool | קרא | מקבל את מחזיק הטקסט is. |
Placeholder | IPlaceholder? | Read | מקבל את מציין המיקום. |
CustomData | ICustomData? | קרא | מקבל את הנתונים המותאמים. |
LineFormat | ILineFormat | Could you please | Gets the line format. |
ThreeDFormat | IThreeDFormat | קרא | מקבל את פורמט ה‑3D. |
EffectFormat | IEffectFormat | קרא | מקבל את פורמט האפקט. |
FillFormat | IFillFormat | Read | Gets the fill format. |
RawFrame | IShapeFrame | Read/Write | מקבל או מגדיר את הפריים הגולמי. |
Frame | IShapeFrame | קריאה/כתיבה | מקבל או מגדיר את המסגרת. |
Hidden | bool | קריאה/כתיבה | מקבל או מגדיר את hidden. |
ZOrderPosition | int | אנא ספק את הטקסט | מקבל את מיקום סדר ה‑Z. |
ConnectionSiteCount | int | Read | מקבל את מספר אתרי החיבור. |
Rotation | float | קריאה/כתיבה | מקבל או מגדיר את הסיבוב. |
X | float | קריאה/כתיבה | Gets or sets the x. |
Y | float | קריאה/כתיבה | Gets or sets the y. |
Width | float | קריאה/כתיבה | מקבל או מגדיר את הרוחב. |
Height | float | קריאה/כתיבה | Gets or sets the height. |
UniqueId | int | קריאה | Gets the unique id. |
OfficeInteropShapeId | int | קריאה | מקבל את מזהה הצורה של Office Interop. |
AlternativeText | string | קריאה/כתיבה | מקבל או מגדיר את הטקסט החלופי. |
AlternativeTextTitle | string | קריאה/כתיבה | מקבל או מגדיר את כותרת הטקסט החלופי. |
Name | string | קריאה/כתיבה | Gets or sets the name. |
IsDecorative | bool | קריאה/כתיבה | מקבל או מגדיר את is decorative. |
IsGrouped | bool | קריאה | מקבל את is grouped. |
AsISlideComponent | ISlideComponent | קרא | מקבל את רכיב As I Slide. |
AsIPresentationComponent | IPresentationComponent | קרא | מקבל את רכיב ההצגה של as i. |
Slide | IBaseSlide? | קרא | Gets the slide. |
Presentation | IPresentation? | קרא | Gets the presentation. |
שיטות
| Signature | תיאור |
|---|---|
AddTextFrame(text: string?) | מוסיף מסגרת טקסט לצורה, עם אפשרות לאתחול עם הטקסט הנתון |