CellsMut
CellsMut
ภาพรวม
CellsMut คือ struct ใน Aspose.Cells FOSS สำหรับ Rust.
ให้การเข้าถึงเซลล์, แถว, คอลัมน์, และช่วงที่รวมกันของแผ่นงาน.
struct นี้ประกาศ 20 เมธอดสำหรับวัตถุ CellsMut ในโปรแกรม Rust. เมธอดที่มีรวมถึง: check_cell, check_cell_or_cells_exception, columns, count, get, get_by_index, get_columns, get_count, get_merged_cells, get_or_cells_exception, get_rows, get_style, และเมธอดเพิ่มเติมอีก 8 รายการ. สมาชิกสาธารณะสามารถเข้าถึงได้จากแอปพลิเคชัน Rust ใดก็ได้หลังจากติดตั้งแพคเกจ Aspose.Cells FOSS สำหรับ Rust.
วิธีการ
| ลายเซ็น | คำอธิบาย |
|---|---|
get(address: &str) → Result<CellMut<'_>, CellsError> | รับรายการจากคอลเลกชัน. |
get_or_cells_exception(address: &str) → Result<CellMut<'_>, CellsException> | รับค่าที่เชื่อมโยง. |
item(address: &str) → Result<CellMut<'_>, CellsError> | ดึงรายการจากคอลเลกชัน. |
get_by_index(row: u32, column: u32) → CellMut<'_> | รับค่าที่เกี่ยวข้อง. |
item_by_index(row: u32, column: u32) → CellMut<'_> | ดึงรายการจากคอลเลกชัน. |
rows() → RowsMut<'_> | รับการตั้งค่าระดับแถวสำหรับแผ่นงาน. |
get_rows() → RowsMut<'_> | รับการตั้งค่าระดับแถวสำหรับแผ่นงาน. |
columns() → ColumnsMut<'_> | รับการตั้งค่าระดับคอลัมน์สำหรับเวิร์กชีต. |
get_columns() → ColumnsMut<'_> | รับการตั้งค่าระดับคอลัมน์สำหรับแผ่นงาน. |
style() → Style | รับสไตล์เริ่มต้นของช่วงเซลล์ในแผ่นงาน. |
get_style() → Style | รับสไตล์เริ่มต้นของช่วงเซลล์ในแผ่นงาน. |
set_style(value: Style) → Result<(), CellsError> | กำหนดสไตล์เริ่มต้นของขอบเขตเซลล์แผ่นงาน. |
merged_cells() → Vec<CellArea> | รับช่วงเซลล์ที่รวมอยู่ในปัจจุบันตามลำดับของแผ่นงาน. |
get_merged_cells() → Vec<CellArea> | รับช่วงเซลล์ที่รวมกันปัจจุบันตามลำดับของ worksheet. |
merge(first_row: i32, first_column: i32, total_rows: i32, total_columns: i32) → Result<(), CellsError> | รวมช่วงเซลล์สี่เหลี่ยมโดยใช้พิกัดที่เริ่มจากศูนย์. |
merge_or_cells_exception(first_row: i32, first_column: i32, total_rows: i32, total_columns: i32) → Result<(), CellsException> | ผสานช่วงที่ระบุและห่อหุ้มข้อผิดพลาดใน CellsException. |
check_cell(address: &str) → Result<bool, CellsError> | ส่งคืนว่าตารางเซลล์แบบ A1 ที่ระบุในปัจจุบันมีอยู่หรือไม่. |
check_cell_or_cells_exception(address: &str) → Result<bool, CellsException> | ส่งคืนว่าตารางเซลล์แบบ A1 ที่ระบุในปัจจุบันมีอยู่หรือไม่ โดยห่อหุ้มข้อผิดพลาดใน CellsException. |
count() → usize | รับจำนวนรายการ. |
get_count() → usize | รับจำนวนรายการ. |