Enumerations ShapeCollection klassen repræsenterer samlingen af former på et dias. Den implementerer IShapeCollection og Iterable<IShape>.
Enumerations: org.aspose.slides.foss
Enumerations
Enumerations
| Enumerations | Enumerations | Enumerations |
|---|
get(int index) | IShape | Hent form efter nulbaseret indeks. |
size() | int | Antal former. |
indexOf(IShape shape) | int | Indeks for den givne form, eller -1. |
iterator() | Iterator<IShape> | Iterator over alle former. |
Tilføj former
| Enumerations | Enumerations | Enumerations |
|---|
addAutoShape(ShapeType, double x, double y, double w, double h) | IAutoShape | Tilføj en autoform. |
addAutoShape(ShapeType, double x, double y, double w, double h, boolean createFromTemplate) | IAutoShape | Tilføj en autoform med skabelonindstilling. |
addConnector(ShapeType, double x, double y, double w, double h) | IConnector | Tilføj en forbindelsesform. |
addPictureFrame(ShapeType, double x, double y, double w, double h, IPPImage image) | IPictureFrame | Tilføj en billedramme. |
addTable(double x, double y, double[] colWidths, double[] rowHeights) | ITable | Tilføj en tabel. |
Indsæt former
| Enumerations | Enumerations | Enumerations |
|---|
insertAutoShape(int index, ShapeType, double x, double y, double w, double h) | IAutoShape | Indsæt en autoform på det angivne indeks. |
insertConnector(int index, ShapeType, double x, double y, double w, double h) | IConnector | Indsæt en forbindelse på det angivne indeks. |
insertPictureFrame(int index, ShapeType, double x, double y, double w, double h, IPPImage image) | IPictureFrame | Indsæt en billedramme på det angivne indeks. |
insertTable(int index, double x, double y, double[] colWidths, double[] rowHeights) | ITable | Indsæt en tabel på det angivne indeks. |
Enumerations
| Enumerations | Enumerations | Enumerations |
|---|
reorderSingle(int newIndex, IShape shape) | void | Flyt en form til en ny z-ordensposition. |
Brugseksempler
Tilføj former til et dias
Tilføj en tabel
Se også