[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Recognition.TableExtractOptions

Class TableExtractOptions

Namespace
GrapeCity.Documents.Pdf.Recognition
Assembly
GcDocs.Pdf.dll

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
Inheritance
object
GrapeCity.Documents.Pdf.Recognition.ContentMapOptions
TableExtractOptions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

TableExtractOptions()

public TableExtractOptions()

Properties

GetMinimumDistanceBetweenCols

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; }

Property Value

System.Func<T, TResult><System.Collections.Generic.IEnumerable<T><float>, float>

GetMinimumDistanceBetweenRows

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; }

Property Value

System.Func<T, TResult><System.Collections.Generic.IEnumerable<T><float>, float>

MinimumColWidth

Gets or sets the minimum column width.

The default is 1.

public float MinimumColWidth { get; set; }

Property Value

float

MinimumRowHeight

Gets or sets the minimum row height.

The default is 1.

public float MinimumRowHeight { get; set; }

Property Value

float