Class HtmlToPdfOptions
Thông tin
Đại diện cho các tùy chọn chuyển đổi HTML sang PDF cho plugin Documentize.HtmlConverter.
public sealed class HtmlToPdfOptions : PluginBaseOptions, IPluginOptions
Kế thừa
object ← PluginBaseOptions ← HtmlToPdfOptions
Triển khai
Thành viên kế thừa
- PluginBaseOptions.AddInput(IDataSource),
- PluginBaseOptions.AddOutput(IDataSource),
- PluginBaseOptions.Inputs,
- PluginBaseOptions.Outputs,
- PluginBaseOptions.CloseInputStreams,
- PluginBaseOptions.CloseOutputStreams,
- object.GetType(),
- object.ToString(),
- object.Equals(object?),
- object.Equals(object?, object?),
- object.ReferenceEquals(object?, object?),
- object.GetHashCode()
Các hàm khởi tạo
HtmlToPdfOptions()
Khởi tạo một thể hiện mới của đối tượng Documentize.HtmlToPdfOptions.
public HtmlToPdfOptions()
Thuộc tính
BasePath
Đường dẫn/url cơ sở cho tệp html.
public string BasePath { get; set; }
Giá trị thuộc tính
HtmlMediaType
Lấy hoặc đặt các loại phương tiện có thể sử dụng trong quá trình dựng.
public HtmlMediaType HtmlMediaType { get; set; }
Giá trị thuộc tính
IsRenderToSinglePage
Lấy hoặc đặt việc dựng tất cả tài liệu trên một trang duy nhất.
public bool IsRenderToSinglePage { get; set; }
Giá trị thuộc tính
PageInfo
Lấy hoặc đặt thông tin trang tài liệu.
public PageInfo PageInfo { get; set; }
Giá trị thuộc tính
PageLayoutOption
Lấy hoặc đặt tùy chọn bố cục.
public HtmlPageLayoutOption PageLayoutOption { get; set; }
Giá trị thuộc tính
Namespace: Documentize Assembly: Documentize.dll