PropertyCollection (pemegang tempat)

PropertyCollection (pemegang tempat)

Pengamatan umum

ShapeCollection adalah kelas dalam Aspose.Slides untuk NET. Warisan dari: IShapeCollection.

Menampilkan koleksi benda yang terurut dan dapat diubah, termasuk dalam slide atau bentuk kelompok. Membungkus elemen XML <p:spTree> dan menyediakan akses cache-backed ke pembungkusan bentuk dengan beban malas.

Sifat-sifatnya

Nama (Inggris)JenisAksesDeskripsi
ParentGroupIGroupShape?Bacalah.Mendapatkan atau menetapkan bentuk kelompok yang berisi koleksi ini
AsICollectionIList<IShape>Bacalah.Memberikan koleksi sebagai IList dari IShape
AsIEnumerableIEnumerable<IShape>Bacalah.Memberikan koleksi sebagai IEnumerable dari IShape
CountintBacalah.Dapatkan jumlah bentuk dalam koleksi

Metode-metode yang digunakan

Tanda tanganDeskripsi
ShapeCollection()Membangun ShapeCollection kosong baru
ToArray()Mengembalikan sub-array yang dimulai pada startIndex dengan elemen hitungan
ToArray(startIndex: int, count: int)
Reorder(index: int, shape: IShape)Menggeser array bentuk untuk memulai pada indeks yang diberikan
Reorder(index: int, shapes: IShape[])
AddAutoShape(shapeType: ShapeType, x: float, y: float, width: float, height: float)Membuat dan menambahkan AutoShape dari tipe dan dimensi yang diberikan
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)Menambahkan AutoShape baru pada indeks, opsional menggunakan template
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)Membuat dan menambahkan bentuk konektor dari tipe dan dimensi yang diberikan
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)Menambahkan bentuk frame gambar dengan gambar yang disediakan
InsertPictureFrame(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float, image: IPPImage)
AddTable(x: float, y: float, columnWidths: double[], rowHeights: double[])Menambahkan tabel pada posisi dengan lebar kolom dan tinggi baris yang ditentukan
InsertTable(index: int, x: float, y: float, columnWidths: double[], rowHeights: double[])Menambahkan tabel pada indeks dengan posisi dan dimensi yang diberikan
IndexOf(shape: IShape)Mengembalikan indeks berbasis nol dari bentuk yang ditentukan
RemoveAt(index: int)Menghapus bentuk pada indeks yang diberikan
Remove(shape: IShape)Menghapus bentuk yang ditentukan dari koleksi
Clear()
GetEnumerator()Mengembalikan penghitung untuk mengulangi bentuk-bentuk
 Bahasa Indonesia