PrintMatrixFormatFormat Method |
Namespace: Imsl.MathAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public virtual string Format(
PrintMatrixFormatFormatType type,
Object entry,
int row,
int col,
PrintMatrixFormatParsePosition pos
)
Public Overridable Function Format (
type As PrintMatrixFormatFormatType,
entry As Object,
row As Integer,
col As Integer,
pos As PrintMatrixFormatParsePosition
) As String
public:
virtual String^ Format(
PrintMatrixFormatFormatType type,
Object^ entry,
int row,
int col,
PrintMatrixFormatParsePosition^ pos
)
abstract Format :
type : PrintMatrixFormatFormatType *
entry : Object *
row : int *
col : int *
pos : PrintMatrixFormatParsePosition -> string
override Format :
type : PrintMatrixFormatFormatType *
entry : Object *
row : int *
col : int *
pos : PrintMatrixFormatParsePosition -> string
Parameters
- type
- Type: Imsl.MathPrintMatrixFormatFormatType
The type of string requested. See PrintMatrixFormat.FormatType Enumeration.
- entry
- Type: SystemObject
The entry to be formatted. This is only used if type equals Entry.
For other values of type, this can be set to null.
- row
- Type: SystemInt32
The (0-based) row number of the element to be formatted. This is -1
if there is no row number associated with this request.
- col
- Type: SystemInt32
The (0-based) column number of the element to be formatted. This is
-1 if there is no column number associated with this request.
- pos
- Type: Imsl.MathPrintMatrixFormatParsePosition
A ParsePosition object used to indicate the alignment center
of the return string. This is used only if type is Entry.
Return Value
Type:
String
A
String to be put into the printed table.
Remarks Note, if type is not FormatType.Entry, pos will be set based on the following criteria.
entry |
behavior |
---|
double | The index is the
position of the decimal point. |
int | The index is the position
of the end of the formatted integer. |
See Also