Click or drag to resize

GlobalSettings Class

Settings that apply to the whole application: how the Chromium rendering engine is hosted and where the library writes its diagnostic log.
Inheritance Hierarchy
SystemObject
  ExpertPdf.AnywhereGlobalSettings

Namespace: ExpertPdf.Anywhere
Assembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntax
public static class GlobalSettings

The GlobalSettings type exposes the following members.

Properties
 NameDescription
Public propertyStatic memberChromiumEngineHostMode Gets or sets how the Chromium rendering engine is hosted while converting HTML.
Public propertyStatic memberEngineAccessToken Gets or sets the access token sent to the expertpdf/engine container, or null when the engine requires none. It must be one of the tokens the engine was started with.
Public propertyStatic memberEngineEndpoint Gets or sets the url of the remote ExpertPdf engine (the expertpdf/engine container), used when the rendering engine is ChromiumRemote. Default is http://expertpdf-engine:8080, the engine as a service named expertpdf-engine on the same Docker network or cluster.
Public propertyStatic memberEngineTimeout Gets or sets how long the application waits for the expertpdf/engine container to answer one request, or null (the default) to derive it from each conversion's own timeouts.
Public propertyStatic memberLogFile Gets or sets the path of the diagnostic log file the library writes while it converts and saves documents.
Public propertyStatic memberRenderingEngine Gets or sets where conversions run: on this machine (Chromium, the default) or in a remote ExpertPdf engine (ChromiumRemote).
Top
Remarks
Set them during start-up, before the first conversion. The license key is set through LicenseKey, and the number of conversions that run at once through PdfConverterConcurrencyLevel.
See Also