Property: LineFeeds for Formatter
- Updated2024-09-12
- 1 minute(s) read
DataPlugin > Properties > Property: LineFeeds for Formatter
Property: LineFeeds for Formatter
Specifies the characters that indicate the line ends in the file. Use the GetLineFeed for File method to automatically determine the end of line character of a file.
Object.LineFeeds
| Object | Formatter Object with this property |
| Object.LineFeeds | String with read and write access |
For example, use the following constants to identify the end of line.
| Constant | Value | Description |
| vbCr | Chr(10) | Carriage return |
| vbCrLf | Chr(13)&Chr(10) | Carriage return - line feed |
| vbFormFeed | Chr(12) | Form feed |
| vbLf | Chr(10) | Line feed |
| vbNewLine | Chr(13)&Chr(10) or Chr(10) | Platform-specific line feed character |
The following example shows the settings required for reading the lines listed below:
XAxis; 1.000.000; 2.000; 301¶
The LineFeeds property interprets the character combination Chr(13)&Chr(10) as the end of the line.
File.Formatter.TrimCharacters = " " File.Formatter.LineFeeds = vbNewLine File.Formatter.Delimiters = ";" File.Formatter.ThousandSeparator = "." Dim ChannelName : ChannelName = File.GetNextStringValue(eString) Dim StartValue : StartValue = File.GetNextStringValue(eI32) Dim Increment : Increment = File.GetNextStringValue(eI32) Dim ChannelSize : ChannelSize = File.GetNextStringValue(eI32)