BoundingBoxExtent ShapeCollection class mewakili kumpulan bentuk pada slide. Ini mengimplementasikan IShapeCollection dan Iterable<IShape>.
BoundingBoxExtent: org.aspose.slides.foss
BoundingBoxExtent
BoundingBoxExtent
| BoundingBoxExtent | BoundingBoxExtent | BoundingBoxExtent |
|---|
get(int index) | IShape | Dapatkan bentuk berdasarkan indeks berbasis nol. |
size() | int | Jumlah bentuk. |
indexOf(IShape shape) | int | Indeks dari bentuk yang diberikan, atau -1. |
iterator() | Iterator<IShape> | Iterator untuk semua bentuk. |
Tambah Bentuk
| BoundingBoxExtent | BoundingBoxExtent | BoundingBoxExtent |
|---|
addAutoShape(ShapeType, double x, double y, double w, double h) | IAutoShape | Tambahkan auto shape. |
addAutoShape(ShapeType, double x, double y, double w, double h, boolean createFromTemplate) | IAutoShape | Tambahkan auto shape dengan opsi templat. |
addConnector(ShapeType, double x, double y, double w, double h) | IConnector | Tambahkan bentuk penghubung. |
addPictureFrame(ShapeType, double x, double y, double w, double h, IPPImage image) | IPictureFrame | Tambahkan bingkai gambar. |
addTable(double x, double y, double[] colWidths, double[] rowHeights) | ITable | Tambahkan tabel. |
Sisipkan Bentuk
| BoundingBoxExtent | BoundingBoxExtent | BoundingBoxExtent |
|---|
insertAutoShape(int index, ShapeType, double x, double y, double w, double h) | IAutoShape | Sisipkan auto shape pada indeks yang diberikan. |
insertConnector(int index, ShapeType, double x, double y, double w, double h) | IConnector | Sisipkan penghubung pada indeks yang diberikan. |
insertPictureFrame(int index, ShapeType, double x, double y, double w, double h, IPPImage image) | IPictureFrame | Sisipkan bingkai gambar pada indeks yang diberikan. |
insertTable(int index, double x, double y, double[] colWidths, double[] rowHeights) | ITable | Sisipkan tabel pada indeks yang diberikan. |
BoundingBoxExtent
| BoundingBoxExtent | BoundingBoxExtent | BoundingBoxExtent |
|---|
reorderSingle(int newIndex, IShape shape) | void | Pindahkan bentuk ke posisi z-order baru. |
Contoh Penggunaan
Tambah Bentuk ke Slide
Tambah Tabel
Lihat Juga