NXOpen .NET Reference
12.0.0
|
Represents a class for Spreadsheet cell data. More...
Public Types | |
enum | Types { Int, Double, String, Logical, Formula } |
Data types enum More... | |
Protected Member Functions | |
override void | FreeResource () |
Free resources associated with the instance. More... | |
Properties | |
unsafe double | DoubleValue [get, set] |
Returns or sets the double value stored in the cell. More... | |
unsafe string | FormulaValue [get, set] |
Returns or sets the formula stored in the cell. More... | |
unsafe int | IntValue [get, set] |
Returns or sets the integer value stored in the cell. More... | |
unsafe bool | LogicalValue [get, set] |
Returns or sets the logical value stored the cell. More... | |
unsafe string | StringValue [get, set] |
Returns or sets the string value stored in the cell. More... | |
unsafe NXOpen.SpreadsheetCellData.Types | Type [get, set] |
Returns or sets the type of data in the cell. More... | |
Represents a class for Spreadsheet cell data.
The data type held in the cell can be obtained from the NXOpen.SpreadsheetCellData.Type . And then the value can obtained from the correct accessor. The value and type of the cell will be changed when calling the set methods. That is if a cell was a formula, but the NXOpen.SpreadsheetCellData.DoubleValue is called, the type will be changed as well.
It should be noted the cell value on the sheet will not updated, by calling a set method on this class. The object must then be passed into the appropriate method on NXOpen.SpreadsheetManager .
Usable only on Windows
Created in NX11.0.0
|
protected |
Free resources associated with the instance.
After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.
Created in NX11.0.0
License requirements: None.
|
getset |
Returns or sets the double value stored in the cell.
Created in NX11.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the formula stored in the cell.
Created in NX11.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the integer value stored in the cell.
Created in NX11.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the logical value stored the cell.
Created in NX11.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the string value stored in the cell.
Created in NX11.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the type of data in the cell.
Created in NX11.0.0
License requirements to get this property: None.
License requirements to set this property: None.