Click or drag to resize
Pdf Library for .NET

GlobalPropertiesEnableFallbackToRestrictedRenderingEngine Property

Enable or disable fall-back to restricted rendering engine.

Namespace:  SelectPdf
Assembly:  Select.HtmlToPdf (in Select.HtmlToPdf.dll) Version: 22.1
Syntax
public static bool EnableFallbackToRestrictedRenderingEngine { get; set; }

Property Value

Type: Boolean
Remarks
There are environments, such as Microsoft Azure Web Apps, where GDI calls are restricted and the default rendering engine does not work. To enable an alternative rendering engine (with some restrictions - no web fonts for html to pdf conversions, one page PdfHtmlElement objects) set EnableRestrictedRenderingEngine to True, or set this property to True to automatically enable the restricted rendering engine if the main engine fails. The default value for this property is True and the restricted rendering engine is activated when main engine fails.
See Also