Class AConsoleOutputStream

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type AConsoleOutputStream = class(ATextOutputStream)

Description

This class can be used to wrap around an instance of AStandardOutputStream or one of its descendants so that ASCII and UTF-8 encoded text can be written to the stream.

Hierarchy

Overview

Methods

Public function lineLength: longword; override;

Description

Methods

Public function lineLength: longword; override;

Retrieve the maximum number of characters that may be printed to a line before the line is forcibly wrapped.

This method overrides the behavior inherited from ATextOutputStream.lineLength: it queries the current display mode for its width, in characters, and returns that to the caller.

This method assumes that the output stream is being printed to a screen device, which may not be true if the operating system has redirected the output of stdout, but that is beyond the control of the program which uses this routine.


Generated by PasDoc 0.13.0 on 2015-06-23 19:40:11