StringChartValue
StringChartValue class
Represent string value which can be stored in pptx presentation document in two ways:
- in cell/cells of workbook related to chart;
- as literal value.
getAsCells
Name | Description |
---|
getAsCells() | Null value assigning is not allowed. Returning value always is not null. Read/write IChartCellCollection. |
Returns:
ChartCellCollection
getAsLiteralString
Name | Description |
---|
getAsLiteralString() | Returns or sets value as literal string. Read/write String. |
Returns:
String
getCellsAddressInWorkbook
Name | Description |
---|
getCellsAddressInWorkbook() | If DataSourceType property is DataSourceType.Worksheet then this method returns address of the cells in workbook which represent the string data. Otherwise return empty string. |
Returns:
String
getData
Name | Description |
---|
getData() | Returns or sets Data object. Read/write Object. |
Returns:
Object
setAsCells
Name | Description |
---|
setAsCells(ChartCellCollection) | Null value assigning is not allowed. Returning value always is not null. Read/write IChartCellCollection. |
setAsLiteralString
Name | Description |
---|
setAsLiteralString(String) | Returns or sets value as literal string. Read/write String. |
setData
Name | Description |
---|
setData(Object) | Returns or sets Data object. Read/write Object. |
setFromOneCell
Name | Description |
---|
setFromOneCell(ChartDataCell) | Sets value from specified cell. |
Parameters:
toString
Name | Description |
---|
toString() | Returns string value data. Return null if DataSourceType is false and no string value was assigned. |
Returns:
String