`'Declaration`

Public Overloads Function RemoveLines( _ ByValImageIDAs Integer, _ ByValOrientationAs LineRemoveOrientation, _ ByValMaxLineGapAs Integer, _ ByValMaxLineThicknessAs Integer, _ ByValMinLineLengthAs Integer, _ ByValMaxInterceptionAs Integer, _ ByValReConnectBrokenCharactersAs Boolean _ ) As GdPictureStatus

public GdPictureStatus RemoveLines( intImageID, LineRemoveOrientationOrientation, intMaxLineGap, intMaxLineThickness, intMinLineLength, intMaxInterception, boolReConnectBrokenCharacters)

public function RemoveLines(ImageID: Integer;Orientation: LineRemoveOrientation;MaxLineGap: Integer;MaxLineThickness: Integer;MinLineLength: Integer;MaxInterception: Integer;ReConnectBrokenCharacters: Boolean ): GdPictureStatus;

public function RemoveLines(ImageID: int,Orientation: LineRemoveOrientation,MaxLineGap: int,MaxLineThickness: int,MinLineLength: int,MaxInterception: int,ReConnectBrokenCharacters: boolean ) : GdPictureStatus;

public: GdPictureStatus RemoveLines( intImageID, LineRemoveOrientationOrientation, intMaxLineGap, intMaxLineThickness, intMinLineLength, intMaxInterception, boolReConnectBrokenCharacters)

public: GdPictureStatus RemoveLines( intImageID, LineRemoveOrientationOrientation, intMaxLineGap, intMaxLineThickness, intMinLineLength, intMaxInterception, boolReConnectBrokenCharacters)

#### Parameters

*ImageID*- GdPicture image identifier. Only 1 bit per pixel images with black and white palette are supported.
*Orientation*- A member of LineRemoveOrientation enumeration specifying whether to remove horizontal or vertical lines.
*MaxLineGap*- Maximum Gap size in the line for it to be considered as a line. If set to 0, no gaps are allowed in the line. If set to -1, gaps calculation is irrelevant to the line equation. Default value is -1.
*MaxLineThickness*- Maximum thickness of a line allowed at any area of the line. If the line is thicker than this value, the line will not be removed. Range from 1 to 50. Default value is 8.
*MinLineLength*- Minimum Length allowed for the line to be removed. Only lines with a length equal to or bigger than this value will be removed. Range from 1 to Image Width if Horizontal, and from 1 to Image Height if Vertical Line. Default valus is 75.
*MaxInterception*- Maximum Character Interception of the Line. If characters intercepting the line have a size of interception larger than this value, the line will not be removed. Range from 0 to MinLineLength / 2. Default value is 8.
*ReConnectBrokenCharacters*- Whether to reconnect characters that are broken upon the lines removal or keep the gaps where the line was. Default value is false.