Class PdfConverter
Info
ตัวแปลงสำหรับการแปลงไฟล์เทมเพลตเป็น pdf.
public class PdfConverter
การสืบทอด
สมาชิกที่สืบทอด
- object.ToString(),
- object.Equals(object),
- object.Equals(object, object),
- object.ReferenceEquals(object, object),
- object.GetHashCode(),
- object.GetType(),
- object.MemberwiseClone()
ตัวอย่าง
1
2
3PdfConverter converter = new PdfConverter();
4LoadOptions loadOptions = new LoadOptions();
5loadOptions.InputFile = "Template.xlsx";
6PdfSaveOptions saveOptions = new PdfSaveOptions();
7saveOptions.OutputFile = "res.pdf";
8converter.Process(loadOptions, saveOptions);
ตัวสร้าง
PdfConverter()
public PdfConverter()
วิธีการ
Process(LoadOptions, PdfSaveOptions)
แปลงไฟล์เทมเพลตเป็น pdf
public void Process(LoadOptions loadOptions, PdfSaveOptions saveOptions)
พารามิเตอร์
loadOptions
LoadOptions: ตัวเลือกสำหรับการนำเข้าและการโหลด:saveOptions
PdfSaveOptions: ตัวเลือกสำหรับการส่งออกและการบันทึก
Namespace: Sheetize
Assembly: Sheetize.dll