Enumerations ShapeCollection class تمثل مجموعة الأشكال على شريحة. إنها تنفذ IShapeCollection و Iterable<IShape>.
Enumerations: org.aspose.slides.foss
Enumerations
Enumerations
| Enumerations | Enumerations | Enumerations |
|---|
get(int index) | IShape | احصل على الشكل وفق فهرس يبدأ من الصفر. |
size() | int | عدد الأشكال. |
indexOf(IShape shape) | int | فهرس الشكل المعطى، أو -1. |
iterator() | Iterator<IShape> | مكرّر عبر جميع الأشكال. |
إضافة أشكال
| Enumerations | Enumerations | Enumerations |
|---|
addAutoShape(ShapeType, double x, double y, double w, double h) | IAutoShape | أضف شكلاً تلقائيًا. |
addAutoShape(ShapeType, double x, double y, double w, double h, boolean createFromTemplate) | IAutoShape | أضف شكلاً تلقائيًا مع خيار القالب. |
addConnector(ShapeType, double x, double y, double w, double h) | IConnector | أضف شكل موصل. |
addPictureFrame(ShapeType, double x, double y, double w, double h, IPPImage image) | IPictureFrame | أضف إطار صورة. |
addTable(double x, double y, double[] colWidths, double[] rowHeights) | ITable | أضف جدولًا. |
إدراج أشكال
| Enumerations | Enumerations | Enumerations |
|---|
insertAutoShape(int index, ShapeType, double x, double y, double w, double h) | IAutoShape | أدرج شكلًا تلقائيًا في الفهرس المحدد. |
insertConnector(int index, ShapeType, double x, double y, double w, double h) | IConnector | أدرج موصلًا في الفهرس المحدد. |
insertPictureFrame(int index, ShapeType, double x, double y, double w, double h, IPPImage image) | IPictureFrame | أدرج إطار صورة في الفهرس المحدد. |
insertTable(int index, double x, double y, double[] colWidths, double[] rowHeights) | ITable | أدرج جدولًا في الفهرس المحدد. |
Enumerations
| Enumerations | Enumerations | Enumerations |
|---|
reorderSingle(int newIndex, IShape shape) | void | انقل شكلًا إلى موضع z-order جديد. |
أمثلة الاستخدام
إضافة أشكال إلى شريحة
إضافة جدول
انظر أيضًا