Click or drag to resize
Pdf Library for .NET

HtmlToPdfOptionsMaximumConcurrentConversions Property

Maximum number of html to pdf conversions that can be performed simultaneously.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.HtmlToPdf.Universal (in SelectPdf.HtmlToPdf.Universal.dll) Version: 26.4
Syntax
public static int MaximumConcurrentConversions { get; set; }

Property Value

Int32
Remarks
This parameter must be set before the first conversion performed by the application. When this property is set with a negative value or zero, the concurrency level is maximum. The default value is 8.

If the maximum number is reached and more conversion requests arrive, they wait in a queue for an available spot and are served in the order they arrived.

The limit applies to both engine hosts (see ChromiumEngineHostMode): with the engine hosted in the application it is the number of pages the engine renders at once.

See Also