Class TextConverter

Info

ตัวแปลงสำหรับการแปลงระหว่างรูปแบบที่อิงจากข้อความ (csv, markdown, dif…) และรูปแบบไฟล์ตารางข้อมูลอื่น ๆ.

public class TextConverter

การสืบทอด

objectTextConverter

รายการที่สืบทอด

ตัวอย่าง

1TextConverter converter = new TextConverter();
2LoadOptions loadOptions = new LoadOptions();
3loadOptions.InputFile = "Template.csv";
4TextSaveOptions saveOptions = new TextSaveOptions();
5saveOptions.OutputFile = "res.xlsx";
6converter.Process(loadOptions, saveOptions);

ตัวสร้าง

TextConverter()

public TextConverter()

วิธีการ

Process(LoadOptions, TextSaveOptions)

แปลงรูปแบบไฟล์ระหว่างรูปแบบที่อิงจากข้อความและรูปแบบไฟล์ตารางข้อมูลอื่น ๆ

public void Process(LoadOptions loadOptions, TextSaveOptions saveOptions)

พารามิเตอร์

  • loadOptions LoadOptions: ตัวเลือกสำหรับการนำเข้าและการโหลด:
  • saveOptions TextSaveOptions: ตัวเลือกสำหรับการส่งออกและการบันทึก

Namespace: Sheetize Assembly: Sheetize.dll

 แบบไทย