NXOpen .NET Reference  12.0.0
Public Types | Protected Member Functions | Properties | List of all members
NXOpen.SpreadsheetCellData Class Reference

Represents a class for Spreadsheet cell data. More...

Inheritance diagram for NXOpen.SpreadsheetCellData:

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...
 

Detailed Description

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

Member Enumeration Documentation

Data types enum

Enumerator
Int 
Double 
String 
Logical 
Formula 

Member Function Documentation

override void NXOpen.SpreadsheetCellData.FreeResource ( )
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.

Property Documentation

unsafe double NXOpen.SpreadsheetCellData.DoubleValue
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.

unsafe string NXOpen.SpreadsheetCellData.FormulaValue
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.

unsafe int NXOpen.SpreadsheetCellData.IntValue
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.

unsafe bool NXOpen.SpreadsheetCellData.LogicalValue
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.

unsafe string NXOpen.SpreadsheetCellData.StringValue
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.

unsafe NXOpen.SpreadsheetCellData.Types NXOpen.SpreadsheetCellData.Type
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.


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.