IFileConverterConvert Method (String, Stream, ConversionSourceType, ConversionOutputType, DocumentOptions) |
Convert string input to output type writing to output stream
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax void Convert(
string Input,
out Stream OutputStream,
ConversionSourceType ConversionType,
ConversionOutputType OutputType,
DocumentOptions DocOptions
)
Sub Convert (
Input As String,
<OutAttribute> ByRef OutputStream As Stream,
ConversionType As ConversionSourceType,
OutputType As ConversionOutputType,
DocOptions As DocumentOptions
)
Parameters
- Input
- Type: SystemString
Input source - OutputStream
- Type: System.IOStream
Output file stream - ConversionType
- Type: NetQuarryConversionSourceType
Input source type - OutputType
- Type: NetQuarryConversionOutputType
Output file type - DocOptions
- Type: NetQuarryDocumentOptions
Output document options
Remarks
When converting from HTML to PDF, you can force page breaks into the document by adding CSS page-break-before
and page-break-after properties. For example, you can add a span like this to force a page break in a particular
location: <div style="page-break-before: always"></div>.
See Also