public class CellValue
extends java.lang.Object
| Constructor and Description |
|---|
CellValue() |
public int getType()
See CellValueType.
public void setType(int value)
See CellValueType.
public java.lang.Object getValue()
Remarks
The value must be of the correct type of object corresponding to thegetType():
| Type | Value |
|---|---|
CellValueType.IS_NULL | null, any other object will be ignored |
CellValueType.IS_NUMERIC | double |
CellValueType.IS_DATE_TIME | DateTime |
CellValueType.IS_STRING | string |
CellValueType.IS_BOOL | bool |
CellValueType.IS_ERROR | error string such as "#VALUE!", "#NAME?", ... |
public void setValue(java.lang.Object value)
Remarks
The value must be of the correct type of object corresponding to thegetType():
| Type | Value |
|---|---|
CellValueType.IS_NULL | null, any other object will be ignored |
CellValueType.IS_NUMERIC | double |
CellValueType.IS_DATE_TIME | DateTime |
CellValueType.IS_STRING | string |
CellValueType.IS_BOOL | bool |
CellValueType.IS_ERROR | error string such as "#VALUE!", "#NAME?", ... |
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.