Class HtmlToPdfOptions
Namespace: Aspose.Pdf.Plugins
Assembly: Aspose.PDF.dll
Đại diện cho các tùy chọn chuyển đổi HTML sang PDF cho plugin Aspose.Pdf.Plugins.PdfHtml.
public sealed class HtmlToPdfOptions : PdfConverterOptions, IPluginOptions
Kế thừa
object ← PdfConverterOptions ← HtmlToPdfOptions
Triển khai
Các thành viên kế thừa
PdfConverterOptions.AddInput(IDataSource), PdfConverterOptions.AddOutput(IDataSource), PdfConverterOptions.Inputs, PdfConverterOptions.Outputs, PdfConverterOptions.OperationName, 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()
public HtmlToPdfOptions()
Các 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 thiết lập các loại phương tiện có thể sử dụng trong quá trình kết xuất.
public HtmlMediaType HtmlMediaType { get; set; }
Giá trị thuộc tính
HtmlMediaType
IsRenderToSinglePage
Lấy hoặc thiết lập việc kết xuất toàn bộ tài liệu thành một trang duy nhất.
public bool IsRenderToSinglePage { get; set; }
Giá trị thuộc tính
OperationName
Lấy tên của hoạt động.
public override string OperationName { get; }
Giá trị thuộc tính
PageInfo
Lấy hoặc thiết lập thông tin trang tài liệu.
public PageInfo PageInfo { get; set; }
Giá trị thuộc tính
PageInfo
PageLayoutOption
Lấy hoặc thiết lập tùy chọn bố cục.
public HtmlPageLayoutOption PageLayoutOption { get; set; }
Giá trị thuộc tính
HtmlPageLayoutOption