IShapeCollection

IShapeCollection

Overview

IShapeCollection เป็นอินเตอร์เฟสใน Aspose.Slides FOSS สําหรับ Java.

แสดงถึงรูปแบบต่างๆ.

ช่องทางนี้ให้ 25 วิธีในการทํางานกับวัตถุ IShapeCollection ในโปรแกรม Java. วิธีการที่ใช้ได้แก่: addAutoShape, addConnector, addPictureFrame, addTable, asICollection, asIEnumerable, clear, get, getParentGroup, indexOf, insertAutoShape, insertConnector,และ 7 วิธีเพิ่มเติม. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Java ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Java. คุณสมบัติ: parentGroup.

Properties

NameTypeAccessDescription
parentGroupIGroupShapeReadได้รูปกลุ่มแม่สําหรับคอลเลกชั่นนี้, หรือ {@code null} หากคอลเล็กชันนี้เป็นของสไลด์โดยตรง.

Methods

SignatureDescription
getParentGroup()IGroupShapeได้รูปกลุ่มแม่สําหรับคอลเลกชั่นนี้, หรือ {@code null} หากคอลเล็กชันนี้เป็นของสไลด์โดยตรง.
asICollection()List<IShape>กลับคอลเลกชั่นนี้เป็น {@ลิสต์เชื่อมต่อ} ที่ไม่สามารถปรับเปลี่ยนได้.
asIEnumerable()Iterable<IShape>การคืนคอลเลกชั่นนี้เป็น {@link Iterable}.
get(index: int)IShapeได้รูปแบบที่อัตราการแสดงตัวที่กําหนดไว้.
size()intคืนจํานวนรูปในคอลเลกชั่น.
addAutoShape(shapeType: ShapeType, x: double, y: double, width: double, height: double)IAutoShapeสร้าง AutoShape ใหม่และเพิ่มมันเข้ากับคอลเลกชั่น.
addAutoShape(shapeType: ShapeType, x: double, y: double, width: double, height: double, createFromTemplate: boolean)IAutoShapeสร้าง AutoShape ใหม่และเพิ่มมันเข้ากับคอลเลกชั่น.
insertAutoShape(index: int, shapeType: ShapeType, x: double, y: double, width: double, height: double)IAutoShapeสร้าง AutoShape ใหม่และใส่มันที่อัตรานิยมที่ระบุ.
insertAutoShape(index: int, shapeType: ShapeType, x: double, y: double, width: double, height: double, createFromTemplate: boolean)IAutoShapeสร้าง AutoShape ใหม่และใส่มันที่อัตรานิยมที่ระบุ.
addConnector(shapeType: ShapeType, x: double, y: double, width: double, height: double)IConnectorเพิ่มตัวเชื่อมเข้ากับการรวบรวม.
addConnector(shapeType: ShapeType, x: double, y: double, width: double, height: double, createFromTemplate: boolean)IConnectorเพิ่มตัวเชื่อมเข้ากับการรวบรวม.
insertConnector(index: int, shapeType: ShapeType, x: double, y: double, width: double, height: double)IConnectorสร้างตัวเชื่อมและใส่มันที่อัตราการแสดงที่ระบุ.
insertConnector(index: int, shapeType: ShapeType, x: double, y: double, width: double, height: double, createFromTemplate: boolean)IConnectorสร้างตัวเชื่อมและใส่มันที่อัตราการแสดงที่ระบุ.
addPictureFrame(shapeType: ShapeType, x: double, y: double, width: double, height: double, image: IPPImage)IPictureFrameเพิ่มกรอบภาพมาในชุดนี้.
insertPictureFrame(index: int, shapeType: ShapeType, x: double, y: double, width: double, height: double, image: IPPImage)IPictureFrameสร้างกรอบภาพและใส่มันที่อัตราการแสดงตัวที่กําหนด.
addTable(x: double, y: double, colWidths: double[], rowHeights: double[])ITableเพิ่มโต๊ะให้กับการเก็บของ.
insertTable(index: int, x: double, y: double, colWidths: double[], rowHeights: double[])ITableสร้างตารางและใส่มันที่อัตรานิยมที่ระบุ.
indexOf(shape: IShape)intส่งผลการแสดงตัวของรูปแบบที่กําหนดไว้.
toArray()IShape[]ส่งผลการใช้รูปแบบทั้งหมดเป็นอาร์เรย์.
toArray(startIndex: int, count: int)IShape[]ส่งผลให้ระดับของรูปแบบเป็นอาร์เรย์.
reorder(index: int, shape: IShape)ย้ายรูปร่างไปยังตําแหน่งที่กําหนดไว้.
reorder(index: int, shapes: IShape[])ย้ายรูปแบบหลายตัวไปยังตําแหน่งที่กําหนดไว้.
removeAt(index: int)ลบรูปร่างที่อัตราการแสดงตัวที่กําหนดไว้.
remove(shape: IShape)ลบรูปร่างที่กําหนดจากคอลเลกชั่น.
clear()ยกรูปทั้งหมดจากสะสม.

See Also

 ภาษาไทย