Namespace: BitMiracle.Docotic.Pdf.HtmlToPdf
public static Task<HtmlConverter> CreateAsync( HtmlEngineOptions options = null )
Public Shared Function CreateAsync ( Optional options As HtmlEngineOptions = Nothing ) As Task(Of HtmlConverter)
Exception | Condition |
---|---|
HtmlConverterException | Unable to create the converter. |
This method checks the directory specified by the Path property for a compatible version of Chromium. If nothing is found, the method downloads a version from https://storage.googleapis.com to the specified directory. Make sure that your firewall allows access to https://storage.googleapis.com or download the compatible version of Chromium in advance.