DisplayTextFormatter

DisplayTextFormatter

ภาพรวม

DisplayTextFormatter เป็น struct ใน Aspose.Cells FOSS สำหรับ Rust. สืบทอดจาก: Default, Clone, PartialEq.

struct นี้ประกาศ 2 เมธอดสำหรับอ็อบเจ็กต์ DisplayTextFormatter ในโปรแกรม Rust. เมธอดที่มีรวมถึง: format_display_value_with_cached_formula_and_culture, format_string_value. สมาชิกสาธารณะสามารถเข้าถึงได้โดยแอปพลิเคชัน Rust ใดก็ได้หลังจากติดตั้งแพคเกจ Aspose.Cells FOSS สำหรับ Rust.

วิธีการ

ลายเซ็นคำอธิบาย
format_string_value(value: T) → Stringเรียก format_string_value(value) บนอินสแตนซ์ DisplayTextFormatter นี้.
format_display_value_with_cached_formula_and_culture(value: Option<&CellValue>, formula_cached_value: Option<&CellValue>, style: Option<&CellStyle>, culture: &str) → Stringเรียก format_display_value_with_cached_formula_and_culture(value, formula_cached_value, style, culture) บนอินสแตนซ์ DisplayTextFormatter นี้.

ดูเพิ่มเติม

 ภาษาไทย