AnalyzeEdges
This method analyzes a document set of words that are, within a certain tolerance, aligned either right or left. Use Highlight mode (CDRHighlightVerticalEdgesLeft or CDRHighlightVerticalEdgesRight) to make the results visible.
Syntax
AnalyzeEdges (edgeSide as CDREdgeSide, AlignTolerance as Double, YDist as Double, MinNoOfWords as Long, minDistance as Double, [pageNr as Long = TRUE])
Parameter | Definition |
---|---|
edgeSide | Specifies if edges that contain left or right aligned words are requested.
Possible values See CDREdgeSide |
AlignTolerance | Specifies in millimeters how far the left (right) values of words bounding rectangle can differ in order for it to still be considered aligned. |
YDist | Specifies in millimeters how far two words can be apart vertically and still belong to the same edge. |
MinNoOfWords | Specifies how many words have to belong to a valid edge. Edges that contain less than MinNoOfWords after analyzing the document are deleted. |
minDistance | This parameter is a factor to be multiplied with AlignTolerance. It specifies the minimal horizontal distance of two edges. Set this value 0 to ignore its effect. |
pageNr | Specifies the page to analyze for edges. Set the value to "-1" to analyze all pages.
Optional parameter. The default value is "-1". |