diff --git a/src/UglyToad.PdfPig.DocumentLayoutAnalysis/PageSegmenter/PageSegmenterOptions.cs b/src/UglyToad.PdfPig.DocumentLayoutAnalysis/PageSegmenter/PageSegmenterOptions.cs new file mode 100644 index 00000000..aeb9eb5d --- /dev/null +++ b/src/UglyToad.PdfPig.DocumentLayoutAnalysis/PageSegmenter/PageSegmenterOptions.cs @@ -0,0 +1,20 @@ +namespace UglyToad.PdfPig.DocumentLayoutAnalysis.PageSegmenter +{ + /// + /// Abstract page segmenter options. + /// + public abstract class PageSegmenterOptions : DlaOptions + { + /// + /// Separator used between words when building lines. + /// Default value is ' ' (space). + /// + public string WordSeparator { get; set; } = " "; + + /// + /// Separator used between lines when building paragraphs. + /// Default value is '\n' (new line). + /// + public string LineSeparator { get; set; } = "\n"; + } +}