diff --git a/src/UglyToad.PdfPig.DocumentLayoutAnalysis/DlaOptions.cs b/src/UglyToad.PdfPig.DocumentLayoutAnalysis/DlaOptions.cs new file mode 100644 index 00000000..39537029 --- /dev/null +++ b/src/UglyToad.PdfPig.DocumentLayoutAnalysis/DlaOptions.cs @@ -0,0 +1,16 @@ +namespace UglyToad.PdfPig.DocumentLayoutAnalysis +{ + /// + /// Abstract class that stores options that configure the operation of methods of the document layout analysis algorithm. + /// + public abstract class DlaOptions + { + /// + /// Gets or sets the maximum number of concurrent tasks enabled. + /// A positive property value limits the number of concurrent operations to the set value. + /// If it is -1, there is no limit on the number of concurrently running operations. + /// Default value is -1. + /// + public int MaxDegreeOfParallelism { get; set; } = -1; + } +}