Convert the stream with HTML document to a PDF stream.

Namespace:  SautinSoft
Assembly:  PdfMetamorphosis (in PdfMetamorphosis.dll) Version: 7.1.2.14 (7.1.2.14)

Syntax

      
 C#  Visual Basic 
public Stream HtmlToPdfConvertStream(
	Stream inputStream
)
Public Function HtmlToPdfConvertStream ( _
	inputStream As Stream _
) As Stream

Parameters

inputStream
Stream
Stream with HTML document.

Return Value

PDF document as byte array, or null in case of converting failed.

Remarks

The docx to pdf conversion method is available starting from .Net 3.5 or above. We recommend you to use the PdfMetamorphosis.dll compiled for the latest .Net.

See Also