Click or drag to resize

DocumentSave Method

Saves the PDF document as byte array that can be further saved into a file or send over HTTP.

Namespace: ExpertPdf.HtmlToPdf.PdfDocument
Assembly: ephtmltopdf (in ephtmltopdf.dll) Version: 22.0.0
Syntax
public byte[] Save()

Return Value

Byte
The byte array representation of the document.
Remarks
A document can be saved only once: a second call to any Save method throws a PdfDocumentException. To produce more than one output, save the document once with Save and reuse the returned bytes.
See Also