[]
        
(Showing Draft Content)

CSJ2K.j2k.util.MsgPrinter

MsgPrinter Class

This utility class formats messages to the specified line width, by inserting line-breaks between words, and printing the resulting lines.

Inheritance
MsgPrinter
Namespace: CSJ2K.j2k.util
Assembly: C1.WPF.PdfViewer.4.6.2.dll
Syntax
public class MsgPrinter

Constructors

Name Description
MsgPrinter(int)

Creates a new message printer with the specified line width and with the default locale.

Fields

Name Description
lw

The line width to use

Properties

Name Description
LineWidth

Returns the line width that is used for formatting.

Methods

Name Description
print(StreamWriter, int, int, string)

Formats the message to print in the current line width, by breaking the message into lines between words. The number of spaces to indent the first line is specified by 'flind' and the number of spaces to indent each of the following lines is specified by 'ind'. Newlines in 'msg' are respected. A newline is always printed at the end.