add PageSegmenterOptions abstract class

This commit is contained in:
BobLd
2020-05-23 19:19:33 +01:00
committed by Eliot Jones
parent dd546dcfc8
commit 33ee66af42

View File

@@ -0,0 +1,20 @@
namespace UglyToad.PdfPig.DocumentLayoutAnalysis.PageSegmenter
{
/// <summary>
/// Abstract page segmenter options.
/// </summary>
public abstract class PageSegmenterOptions : DlaOptions
{
/// <summary>
/// Separator used between words when building lines.
/// <para>Default value is ' ' (space).</para>
/// </summary>
public string WordSeparator { get; set; } = " ";
/// <summary>
/// Separator used between lines when building paragraphs.
/// <para>Default value is '\n' (new line).</para>
/// </summary>
public string LineSeparator { get; set; } = "\n";
}
}