 | CTBSetReal Method |
Sets an real value into a table element.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic void SetReal(
int row,
int col,
double val
)
public void SetReal(
int row,
int col,
double val
)
Public Sub SetReal (
row As Integer,
col As Integer,
val As Double
)
Public Sub SetReal (
row As Integer,
col As Integer,
val As Double
)
public:
void SetReal(
int row,
int col,
double val
)
public:
void SetReal(
int row,
int col,
double val
)
member SetReal :
row : int *
col : int *
val : float -> unit
member SetReal :
row : int *
col : int *
val : float -> unit
Parameters
- row
- Type: SystemInt32
Row of element to set - col
- Type: SystemInt32
Column of element to set - val
- Type: SystemDouble
Value to set
Remarks
The table field containing the element to be set MUST be
of type <define>GS_FLOAT</define> or <define>GS_DOUBLE</define>.
If the field is <define>GS_FLOAT</define> the new data value will cause an
overflow if the value is out of range of the data type.
The new element value will then be invalid.
If the row of the new element exceeds the number of rows in
the table, then the table will AUTOMATICALLY be EXPANDED to
exactly as many rows needed to hold the new element. The new
element is placed in the proper field of the last row, and
all other field elements have invalid data. All fields of
the new rows up to the new element's row will also contain
invalid data.
See Also