Class PdfPrintDocumentWriter
Предоставляет метод для записи PrintDocument в PDF-файл.
Inheritance
System.Object
PdfPrintDocumentWriter
Namespace:InfinniPlatform.PrintView.Writers.Pdf
Assembly:InfinniPlatform.PrintView.dll
Syntax
public class PdfPrintDocumentWriter : object, IPrintDocumentWriter
Constructors
| Improve this Doc View SourcePdfPrintDocumentWriter(PrintViewOptions, HtmlPrintDocumentWriter)
Конструктор.
Declaration
public PdfPrintDocumentWriter(PrintViewOptions options, HtmlPrintDocumentWriter htmlWriter)
Parameters
Type | Name | Description |
---|---|---|
PrintViewOptions | options | |
HtmlPrintDocumentWriter | htmlWriter |
Methods
| Improve this Doc View SourceWrite(Stream, PrintDocument)
Записывает документ в файл.
Declaration
public Task Write(Stream stream, PrintDocument document)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | Поток для записи в файл. |
PrintDocument | document | Документ печатного представления. |
Returns
Type | Description |
---|---|
Task |