FormatCondition
FormatCondition
ภาพรวม
FormatCondition เป็น struct ใน Aspose.Cells FOSS สำหรับ Rust.
แสดงเงื่อนไขรูปแบบ.
struct นี้ประกาศ 56 เมธอดสำหรับอ็อบเจ็กต์ FormatCondition ในโปรแกรม Rust. เมธอดที่มีให้รวมถึง: get_above, get_bar_color, get_bar_length, get_color_scale_count, get_direction, get_duplicate, get_formula, get_formula1, get_formula2, get_icon_set_type, get_max_color, get_mid_color, และเมธอดเพิ่มเติมอีก 44 รายการ. สมาชิกสาธารณะสามารถเข้าถึงได้จากแอปพลิเคชัน Rust ใด ๆ หลังจากติดตั้งแพคเกจ Aspose.Cells FOSS สำหรับ Rust.
วิธีการ
| ลายเซ็น | คำอธิบาย |
|---|---|
get_type() → FormatConditionType | รับประเภท. |
set_type(value: FormatConditionType) | ตั้งค่าประเภท. |
get_operator() → OperatorType | รับตัวดำเนินการ. |
set_operator(value: OperatorType) | ตั้งค่าตัวดำเนินการ. |
get_formula1() → &str | รับค่า formula1. |
set_formula1(value: impl Into<String>) | ตั้งค่า formula1. |
get_formula2() → &str | รับค่า formula2. |
set_formula2(value: impl Into<String>) | ตั้งค่า formula2. |
get_formula() → &str | รับสูตร. |
set_formula(value: impl Into<String>) | ตั้งสูตร. |
get_time_period() → &str | รับช่วงเวลา. |
set_time_period(value: impl Into<String>) | กำหนดช่วงเวลา. |
get_duplicate() → bool | รับค่าที่บ่งชี้ว่ามีการซ้ำหรือไม่. |
set_duplicate(value: bool) | กำหนดค่าที่บ่งบอกว่าซ้ำหรือไม่. |
get_top() → bool | รับค่าที่บ่งบอกว่ามีการจัดอันดับบนสุดหรือไม่. |
set_top(value: bool) | ตั้งค่าค่าที่บ่งบอกว่าเป็นด้านบน. |
get_percent() → bool | รับค่าที่บ่งบอกว่าเป็นเปอร์เซ็นต์. |
set_percent(value: bool) | ตั้งค่าค่าที่ระบุว่าเป็นเปอร์เซ็นต์หรือไม่. |
get_rank() → i32 | รับค่าอันดับ. |
set_rank(value: i32) → Result<(), CellsError> | ตั้งค่าลำดับ. |
get_above() → bool | รับค่าที่บ่งชี้ว่าข้างบนหรือไม่. |
set_above(value: bool) | กำหนดค่าที่บ่งชี้ว่าข้างต้น. |
get_standard_deviation() → i32 | รับส่วนเบี่ยงเบนมาตรฐาน. |
set_standard_deviation(value: i32) → Result<(), CellsError> | กำหนดส่วนเบี่ยงเบนมาตรฐาน. |
get_color_scale_count() → i32 | รับจำนวนสเกลสี. |
set_color_scale_count(value: i32) → Result<(), CellsError> | ตั้งค่าจำนวนสเกลสี. |
get_min_color() → &str | รับสีขั้นต่ำ. |
set_min_color(value: impl Into<String>) | ตั้งค่าสีขั้นต่ำ. |
get_mid_color() → &str | รับสีกลาง. |
set_mid_color(value: impl Into<String>) | ตั้งค่าสีกลาง. |
get_max_color() → &str | รับค่าสีสูงสุด. |
set_max_color(value: impl Into<String>) | ตั้งค่าสีสูงสุด. |
get_bar_color() → &str | รับสีของแถบ. |
set_bar_color(value: impl Into<String>) | กำหนดสีของแถบ. |
get_negative_bar_color() → &str | รับสีบาร์เชิงลบ. |
set_negative_bar_color(value: impl Into<String>) | ตั้งค่าสีบาร์เชิงลบ. |
get_show_border() → bool | รับค่าที่บ่งบอกว่าจะแสดงขอบหรือไม่. |
set_show_border(value: bool) | ตั้งค่าค่าที่ระบุว่าจะแสดงเส้นขอบหรือไม่. |
get_direction() → &str | รับค่าทิศทาง. |
set_direction(value: impl Into<String>) | ตั้งค่าทิศทาง. |
get_bar_length() → &str | รับความยาวของแถบ. |
set_bar_length(value: impl Into<String>) | ตั้งค่าความยาวของแถบ. |
get_icon_set_type() → &str | รับประเภทชุดไอคอน. |
set_icon_set_type(value: impl Into<String>) | ตั้งค่าประเภทชุดไอคอน. |
get_reverse_icons() → bool | รับค่าที่ระบุว่าไอคอนถูกย้อนกลับหรือไม่. |
set_reverse_icons(value: bool) | กำหนดค่าที่ระบุว่าต้องการไอคอนย้อนกลับหรือไม่. |
get_show_icon_only() → bool | รับค่าที่บ่งชี้ว่าจะแสดงไอคอนเท่านั้น. |
set_show_icon_only(value: bool) | ตั้งค่าค่าที่บ่งชี้ว่าจะให้แสดงไอคอนเท่านั้นหรือไม่. |
get_priority() → i32 | รับลำดับความสำคัญ. |
set_priority(value: i32) → Result<(), CellsError> | กำหนดลำดับความสำคัญ. |
get_stop_if_true() → bool | รับค่าที่บ่งชี้ว่าหยุดหากเป็นจริง. |
set_stop_if_true(value: bool) | ตั้งค่าค่าที่ระบุว่าหยุดเมื่อเป็นจริง. |
style() → Style | รับสไตล์. |
get_style() → Style | รับสไตล์. |
set_style(value: Style) | ตั้งค่าสไตล์. |
remove() | ลบรายการที่ระบุ. |