Topic Path: Symbol Reference > Classes > TIdIOHandler Class > TIdIOHandler Properties > MaxLineLength Property
TIdIOHandler.MaxLineLength Property

Determines the maximum length of a line read from the IOHandler for the connection.

property MaxLineLength: Integer;

MaxLineLength is an Integer property that represents the maximum line length allowed when reading a line of text from the IOHandler connection. MaxLineLength is used as a default value in methods like ReadLn when the optional line length argument is omitted. 

The default value for MaxLineLength is IdMaxLineLengthDefault as assigned during initialization of the object instance. 

MaxLineLength is used when MaxLineAction contains maSplit. 

MaxLineLength is used in ReadLn, ReadLnSplit, and InputLn.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.