[]
Represents options used by the table extraction algorithm.
Units of measurement that are used by members of this class are determined by the horizontal and vertical resolutions of the target (usually point, 1/72 of an inch), see GetTable(RectangleF, TableExtractOptions, float, float, bool).
public class TableExtractOptions : ContentMapOptions
public TableExtractOptions()
Gets or sets a function that is called to determine the minimum possible distance between columns. The function parameter is the collection of characters' widths.
The default implementation returns the average value multiplied by 2.
public Func<IEnumerable<float>, float> GetMinimumDistanceBetweenCols { get; set; }
Gets or sets a function that is called to determine the minimum possible distance between rows. The function parameter is the collection of tokens' heights.
The default implementation returns the statistical mode, unless its value is 0 or NaN in which case the average is returned.
public Func<IEnumerable<float>, float> GetMinimumDistanceBetweenRows { get; set; }
Gets or sets the minimum column width.
The default is 1.
public float MinimumColWidth { get; set; }
Gets or sets the minimum row height.
The default is 1.
public float MinimumRowHeight { get; set; }