ITextFrameFormat{Categorie:Documentele de activitate}
Opinie generală
ShapeCollection este o clasă în Aspose.Slides pentru NET. Moștenitorii de la: IShapeCollection.
Reprezintă o colecție ordonată, mutabilă de obiecte care aparțin unei diapozitive sau formei grupului. Îmbracă elementul XML <p:spTree> și oferă acces la înfășurarea formelor cu încărcare leneasă și suportare cache-ului .
Proprietăți
| Numele de proprietate | Tipul de vehicul | Accesul | Descriere: |
|---|---|---|---|
ParentGroup | IGroupShape? | Citeşte. | Obține sau stabilește forma grupului care conține această colecție |
AsICollection | IList<IShape> | Citeşte. | Oferă colectarea ca IList a IShape |
AsIEnumerable | IEnumerable<IShape> | Citeşte. | Oferă colectarea ca IEnumerable a IShape |
Count | int | Citeşte. | Obține numărul de forme din colecție |
Metode de evaluare
| Semnătura | Descriere: |
|---|---|
ShapeCollection() | Construieşte un nou ShapeCollection gol. |
ToArray() | Întoarce o sub-matrice care începe la startIndex cu elemente de numărare. |
ToArray(startIndex: int, count: int) | |
Reorder(index: int, shape: IShape) | Se mută matricea de forme pentru a începe la indicele dat |
Reorder(index: int, shapes: IShape[]) | |
AddAutoShape(shapeType: ShapeType, x: float, y: float, width: float, height: float) | Creează și adaugă un AutoShape de tip și dimensiuni date. |
AddAutoShape(shapeType: ShapeType, x: float, y: float, width: float, height: float, createFromTemplate: bool) | |
InsertAutoShape(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float) | Inserează un nou AutoShape la index, opțional folosind un șablon. |
InsertAutoShape(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float, createFromTemplate: bool) | |
AddConnector(shapeType: ShapeType, x: float, y: float, width: float, height: float) | Creează și adaugă o formă de conector a tipului și dimensiunilor date. |
AddConnector(shapeType: ShapeType, x: float, y: float, width: float, height: float, createFromTemplate: bool) | |
InsertConnector(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float) | |
InsertConnector(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float, createFromTemplate: bool) | |
AddPictureFrame(shapeType: ShapeType, x: float, y: float, width: float, height: float, image: IPPImage) | Adăuga o formă de cadru cu imaginea furnizată |
InsertPictureFrame(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float, image: IPPImage) | |
AddTable(x: float, y: float, columnWidths: double[], rowHeights: double[]) | Adăuga un tabel la poziție cu lățimi de coloană și înălțime specificate ale rândurilor. |
InsertTable(index: int, x: float, y: float, columnWidths: double[], rowHeights: double[]) | Introducerea unui tabel la index cu poziție și dimensiuni date. |
IndexOf(shape: IShape) | Retoară indicele pe bază de zero al formei specificate. |
RemoveAt(index: int) | Îndepărtează forma la indicele dat. |
Remove(shape: IShape) | Îndepărtează forma specificată din colecție |
Clear() | |
GetEnumerator() | Întoarce un numărător pentru iterarea formelor. |