Click or drag to resize

CHtmlConverterRenderAndConvertToPdf Method (Stream, Stream, Stream)

Renders HTML template with JSON data from streams and converts the result to PDF

Namespace:  ComPDF.PDFGeneration
Assembly:  ComPDFGeneration (in ComPDFGeneration.dll) Version: 1.0.0+340720369ae98791af8dd72f985ee6534adad5e3
Syntax
C#
public static CErrorCode RenderAndConvertToPdf(
	Stream htmlStream,
	Stream jsonStream,
	Stream pdfStream
)

Parameters

htmlStream
Type: System.IOStream
Stream containing HTML template
jsonStream
Type: System.IOStream
Stream containing JSON data
pdfStream
Type: System.IOStream
Stream to write the resulting PDF to

Return Value

Type: CErrorCode
Error code indicating the result of the operation
See Also