CellArea
ภาพรวม
CellArea เป็นคลาสใน Aspose.Cells FOSS สำหรับ Java.
แสดงถึงพื้นที่เซลล์ที่มีขอบเขตของแถวและคอลัมน์.
คุณสมบัติ
| ชื่อ | ประเภท | การเข้าถึง | คำอธิบาย |
|---|---|---|---|
firstRow | int | อ่าน | ส่งคืนแถวแรก. |
firstColumn | int | อ่าน | ส่งคืนคอลัมน์แรก. |
totalRows | int | อ่าน | ส่งคืนจำนวนแถวทั้งหมด. |
totalColumns | int | อ่าน | ส่งคืนจำนวนคอลัมน์ทั้งหมด. |
วิธีการ
| Signature | Description |
|---|---|
CellArea(firstRow: int, firstColumn: int, totalRows: int, totalColumns: int) | สร้าง CellArea ใหม่ด้วยขอบเขตที่ระบุ |
getFirstRow() → int | คืนค่าแถวแรก |
getFirstColumn() → int | คืนค่าคอลัมน์แรก |
getTotalRows() → int | คืนค่าจำนวนแถวทั้งหมด |
getTotalColumns() → int | คืนค่าจำนวนคอลัมน์ทั้งหมด |
createCellArea(startRow: int, startColumn: int, endRow: int, endColumn: int) → CellArea | สร้าง CellArea จากพิกัดเซลล์เริ่มต้นและสิ้นสุด |
createCellArea(startCellName: String, endCellName: String) → CellArea | สร้าง CellArea จากชื่อเซลล์เริ่มต้นและสิ้นสุด (เช่น “A1”, “B2”) |