[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Recognition.TableExtractOptions

TableExtractOptions Class

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).

Inheritance
ContentMapOptions
TableExtractOptions
Namespace: GrapeCity.Documents.Pdf.Recognition
Assembly: DS.Documents.Pdf.dll
Syntax
public class TableExtractOptions : ContentMapOptions
Public Class TableExtractOptions
    Inherits ContentMapOptions

Constructors

Name Description
TableExtractOptions()

Properties

Name Description
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.

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.

MinimumColWidth

Gets or sets the minimum column width.

The default is 1.

MinimumRowHeight

Gets or sets the minimum row height.

The default is 1.