Click or drag to resize
Pdf Library for .NET

GlobalProperties Class

Global configuration knobs for the SelectPdf SDK. Settings here apply to every conversion and every document produced in the current application domain.
Inheritance Hierarchy
SystemObject
  SelectPdf.UniversalGlobalProperties

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public static class GlobalProperties

The GlobalProperties type exposes the following members.

Properties
 NameDescription
Public propertyStatic memberChromiumEngineHostMode Gets or sets how the Chromium engine is hosted while converting HTML. Default is InProcess where the in-process engine host is installed beside the engine, and OutOfProcess otherwise.
Public propertyStatic memberForceDenyLocalFileAccess A flag indicating whether local file:// URLs may be loaded during conversion. Default is false (local files are allowed).
Public propertyStatic memberLFN Sets the path of the diagnostic log file written during conversion. When unset, no log is written.
Public propertyStatic memberLicenseKey Gets or sets the license key string received when the library is purchased.
Top
Example
SelectPdf.Universal.GlobalProperties.LicenseKey = "your-license-key";
SelectPdf.Universal.GlobalProperties.ForceDenyLocalFileAccess = true;
See Also