HyperlinkCollection

HyperlinkCollection

ภาพรวม

HyperlinkCollection คือ struct ใน Aspose.Cells FOSS สำหรับ Rust.

บรรจุไฮเปอร์ลิงก์ที่กำหนดไว้สำหรับแผ่นงาน.

struct นี้ประกาศ 8 เมธอดสำหรับวัตถุ HyperlinkCollection ในโปรแกรม Rust. เมธอดที่มีให้รวมถึง: add, add_at, clear, count, get, get_count, item, remove_at. สมาชิกสาธารณะสามารถเข้าถึงได้จากแอปพลิเคชัน Rust ใด ๆ หลังจากติดตั้งแพคเกจ Aspose.Cells FOSS สำหรับ Rust.

วิธีการ

ลายเซ็นคำอธิบาย
count() → usizeรับจำนวนรายการ.
get_count() → usizeรับจำนวนรายการ.
add(cell_name: impl Into<String>, total_rows: i32, total_columns: i32, address: impl Into<String>) → Result<usize, CellsError>เพิ่มไฮเปอร์ลิงก์บนช่วง A1 ที่ระบุและเมตาดาต้าข้อความแสดงผลที่เป็นตัวเลือก.
add_at(first_row: i32, first_column: i32, total_rows: i32, total_columns: i32, address: impl Into<String>) → Result<usize, CellsError>เพิ่มรายการ.
get(index: usize) → Option<Hyperlink<'_>>รับรายการจากคอลเลกชัน.
item(index: usize) → Option<Hyperlink<'_>>รับรายการจากคอลเลกชัน.
remove_at(index: usize) → Result<(), CellsError>ลบรายการหนึ่งรายการ.
clear()ลบไฮเปอร์ลิงก์ทั้งหมดจากแผ่นงาน.

ดูเพิ่มเติม

 ภาษาไทย