PropertyCollection (pemegang tempat)

PropertyCollection (pemegang tempat)

Pengamatan umum

IShapeCollection adalah antarmuka dalam Aspose.Slides untuk NET. Warisan dari: IEnumerable<IShape>.

Menampilkan koleksi benda yang tertib dan dapat berubah milik slide atau bentuk kelompok.

Sifat-sifatnya

Nama (Inggris)JenisAksesDeskripsi
ParentGroupIGroupShape?Bacalah.Dapatkan bentuk kelompok yang berisi koleksi ini, jika ada
AsICollectionIList<IShape>Bacalah.Memberikan bentuk sebagai IList untuk akses gaya koleksi
AsIEnumerableIEnumerable<IShape>Bacalah.Memberikan bentuk sebagai IEnumerable untuk iterasi
CountintBacalah.Mengembalikan jumlah bentuk dalam koleksi

Metode-metode yang digunakan

Tanda tanganDeskripsi
ToArray()Array yang berisi semua bentuk dalam koleksi.
ToArray(startIndex: int, count: int)Array yang berisi rentang bentuk tertentu.
Reorder(index: int, shape: IShape)Bentuk untuk bergerak.
Reorder(index: int, shapes: IShape[])Bentuk untuk bergerak.
AddAutoShape(shapeType: ShapeType, x: float, y: float, width: float, height: float)Bentuk otomatis yang dibuat.
AddAutoShape(shapeType: ShapeType, x: float, y: float, width: float, height: float, createFromTemplate: bool)Bentuk otomatis yang dibuat.
InsertAutoShape(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float)Bentuk otomatis yang dibuat.
InsertAutoShape(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float, createFromTemplate: bool)Bentuk otomatis yang dibuat.
AddConnector(shapeType: ShapeType, x: float, y: float, width: float, height: float)Konektor yang dibuat.
AddConnector(shapeType: ShapeType, x: float, y: float, width: float, height: float, createFromTemplate: bool)Konektor yang dibuat.
InsertConnector(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float)Konektor yang dibuat.
InsertConnector(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float, createFromTemplate: bool)Konektor yang dibuat.
AddPictureFrame(shapeType: ShapeType, x: float, y: float, width: float, height: float, image: IPPImage)Bingkai gambar yang dibuat.
InsertPictureFrame(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float, image: IPPImage)Bingkai gambar yang dibuat.
AddTable(x: float, y: float, columnWidths: double[], rowHeights: double[])Meja yang dibuat.
InsertTable(index: int, x: float, y: float, columnWidths: double[], rowHeights: double[])Meja yang dibuat.
IndexOf(shape: IShape)Indeks berbasis nol, atau -1 jika bentuknya tidak ada dalam koleksi.
RemoveAt(index: int)Indeks berbasis nol dari bentuk yang akan dihapus.
Remove(shape: IShape)Bentuk untuk dihapus.
Clear()Menghapus semua bentuk dari koleksi
 Bahasa Indonesia