Click or drag to resize
Pdf Library for .NET

PdfHtmlElementWebGlEnabled Property

Controls WebGL support in the rendering engine.

Namespace: SelectPdf
Assembly: Select.Pdf (in Select.Pdf.dll) Version: 26.4
Syntax
public bool WebGlEnabled { get; set; }

Property Value

Boolean
Remarks
The default value is False.

With WebGL off, the engine skips the software graphics initialization it would otherwise perform for every conversion, which makes the conversion noticeably faster. Everything else, 2D canvas included, renders the same.

Set this property to True for pages whose content is drawn with WebGL (map or 3D chart libraries, for example). With WebGL off, such content does not render at all, because no WebGL context can be created.

Note: This is used by the Chromium and Blink rendering engines.

See Also