PutText(String,Int32,Int32,Int32) Method
Puts text at a specified screen location, taking up the number of characters specified by the length parameter. PutText has two modes: Mask and LinearStream. These modes are set with the PutTextMaskProtectedField Property.
In Mask mode (the default), text that coincides with protected fields is skipped and is not placed on the screen.
In LinearStream mode, protected fields are ignored and the text is placed sequentially in unprotected fields until all of the text is placed on the screen or the specified length is exceeded.
Parameters
- text
- Text to put on screen.
- row
- Row position on which to put the text.
- column
- Column position on which to put the text.
- length
Number of byte positions available for the text. If the text string is longer than "length", the text is truncated. Text can span more than one field.
Return Value
ReturnCode indicates success, failure, or a warning condition if the cursor position reaches the screen boundary.
Exception | Description |
System.ArgumentOutOfRangeException |
This exception is thrown if the row or column parameters are
outside the range of valid values: (1 to Rows) or (1 to Columns).
|