AnalyzeEdges2
This method is similar to AnalyzeEdges method, but it applies the processing for
visible text lines only (in case 'vbCheckedOnly
' parameter is set to TRUE),
otherwise it works exactly like AnalyzeEdges.
Syntax
AnalyzeEdges2 (edgeSide as CDREdgeSide, AlignTolerance as Double, YDist as Double, MinNoOfWords as Long, minDistance as Double, pageNr as Long, vbCheckedOnly as Boolean)
Parameter | Description |
---|---|
edgeSide | Specifies if edges that contain left or right aligned words are requested.
Possible values See CDREdgeSide |
AlignTolerance | This value in millimeters specifies 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. |
vbCheckedOnly |
If set to TRUE, the method applies processing for visible text lines only, otherwise this function works exactly like AnalyzeEdges. |