ImgFindBorderLineTop

Top  Previous  Next

Prototype

 

intValue:=ImgFindBorderLineTop(intImageHandle,floatMaxBorderSizeInches,intMinLinePercentage)

 

Description

 

Find image top border signed with line

 

Parameters

 

intImageHandle: integer value corresponding to image handle.

 

floatMaxBorderSizeInches: float value corresponding to border size in inch.

 

intMinLinePercentage: integer value corresponding to minimum line percentage.

 

Returned Value

 

intValue:integer value corresponding to border top coordinate.

 

Notes

 

None.

 

Example

 

// Calculate border coordinates

Left:=ImgFindBorderLineLeft( _CurrentImage, 99.0, 1 );

Top:=ImgFindBorderLineTop( _CurrentImage, 99.0, 1 );

Right:=ImgFindBorderLineRight( _CurrentImage, 99.0, 1 );

Bottom:=ImgFindBorderLineBottom( _CurrentImage, 99.0, 1 );

 

// clean border

ImgCleanBorder( _CurrentImage, Left, Top, Right, Bottom );