Class PdfConverter
Thông tin
Bộ chuyển đổi để chuyển đổi tệp mẫu sang pdf.
public class PdfConverter
Kế thừa
Các thành viên kế thừa
- object.ToString(),
- object.Equals(object),
- object.Equals(object, object),
- object.ReferenceEquals(object, object),
- object.GetHashCode(),
- object.GetType(),
- object.MemberwiseClone()
Ví dụ
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);
Các phương thức khởi tạo
PdfConverter()
public PdfConverter()
Các phương thức
Process(LoadOptions, PdfSaveOptions)
Chuyển đổi tệp mẫu sang pdf
public void Process(LoadOptions loadOptions, PdfSaveOptions saveOptions)
Tham số
loadOptions
LoadOptions: Tùy chọn cho đầu vào và tải:saveOptions
PdfSaveOptions: Tùy chọn cho đầu ra và lưu
Namespace: Sheetize
Assembly: Sheetize.dll