GetEdge

This method returns the coordinates for the left, top, and bottom of the corners for an edge, which is interpreted as a rectangle.

Syntax

GetEdge (edgeSide as CDREdgeSide, edgeIndex as Long, pLeft as Long, pTop as Long, pBottom as Long, pPageNr as Long)
Parameter Description
edgeSide Specifies if edges that contain left or right aligned words are requested.

Possible values

See CDREdgeSide

edgeIndex Index of the edge to return.

Possible values

0 to the result of EdgeCount – 1.

pLeft Contains left coordinate of the edge.
pTop Contains top coordinate of the edge.
pBottom Contains bottom coordinate of the edge.
pPageNr Contains page number of the edge.