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. |
Result:
ChartCellCollection
getAsLiteralString
| Name | Description |
|---|
| getAsLiteralString() | Returns or sets value as literal string. Read/write String. |
Result:
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. |
Result:
String
getData
| Name | Description |
|---|
| getData() | Returns or sets Data object. Read/write Object. |
Result:
Object
getData
| Name | Description |
|---|
| getData() | Data. Read/write Object. |
Result:
Object
getDataSourceType
| Name | Description |
|---|
| getDataSourceType() | Specifies whether AsCell, AsCells, AsLiteralString or AsLiteralDouble property is actual in descendants. In other words it specifies the type of value of the Data property. Read/write DataSourceType. For points in ChartDataPointCollection this property is read-only. In this case for changing value of this property you can use one of the ChartDataPointCollection.DataSourceTypeFor<…> properties. |
Result:
int
| Name | Description |
|---|
| getParent_Immediate() | |
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. |
setData
| Name | Description |
|---|
| setData(Object) | Data. Read/write Object. |
setDataSourceType
| Name | Description |
|---|
| setDataSourceType(int) | Specifies whether AsCell, AsCells, AsLiteralString or AsLiteralDouble property is actual in descendants. In other words it specifies the type of value of the Data property. Read/write DataSourceType. For points in ChartDataPointCollection this property is read-only. In this case for changing value of this property you can use one of the ChartDataPointCollection.DataSourceTypeFor<…> properties. |
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. |
Result:
String