Border

ภาพรวม

Border เป็น struct ใน Aspose.Cells FOSS สำหรับ Rust. สืบทอดจาก: Debug, Clone, PartialEq และอีก 3 รายการ.

แทนขอบ.

struct นี้ประกาศ 10 เมธอดสำหรับอ็อบเจ็กต์ Border ในโปรแกรม Rust. เมธอดที่ใช้ได้รวมถึง: clear_color, copy_from, get_color, get_line_style, get_line_style_type, line_style_type, new, set_color, set_line_style, set_line_style_type. สมาชิกสาธารณะสามารถเข้าถึงได้จากแอปพลิเคชัน Rust ใด ๆ หลังจากติดตั้งแพคเกจ Aspose.Cells FOSS สำหรับ Rust. ฟิลด์: color, line_style.

ฟิลด์

ชื่อประเภทการเข้าถึงคำอธิบาย
line_styleBorderLineStyleอ่าน/เขียนรับค่า style ของเส้น.
colorOption<String>อ่าน/เขียนรับสี.

วิธีการ

ลายเซ็นคำอธิบาย
new() → Selfเริ่มต้นอินสแตนซ์ใหม่.
line_style_type() → BorderStyleTypeรับค่าที่เกี่ยวข้อง.
get_line_style_type() → BorderStyleTypeรับค่าที่เกี่ยวข้อง.
get_line_style() → BorderLineStyleรับสไตล์ของเส้น.
set_line_style_type(value: BorderStyleType)ตั้งค่าค่าที่เชื่อมโยง.
set_line_style(value: BorderLineStyle)กำหนดรูปแบบเส้น.
get_color() → Option<&str>รับค่าสี.
set_color(value: impl Into<String>)ตั้งค่าสี.
clear_color()ล้างสี.
copy_from(source: &Border)คัดลอกค่าขอบจากอินสแตนซ์ขอบอื่น.

ดูเพิ่มเติม

 ภาษาไทย