RenderToPdf(Stream,PdfSettings) Method
Creates a PDF document from the source HTML and saves it to a specified stream.
public System.bool RenderToPdf(
System.IO.Stream ,
PdfSettings
)
'Declaration
Public Overloads Function RenderToPdf( _
ByVal As System.IO.Stream, _
Optional ByVal As PdfSettings _
) As System.Boolean
Parameters
- outputStream
- The destination stream.
- settings
- The set of parameters for the output PDF.
Return Value
True if PDF was successfully saved; otherwise, false.