IStringChartValue

IStringChartValue 接口

Represent string value which can be stored in pptx presentation document in two ways: 1) in cell/cells of workbook related to chart; 2) as literal value.

public interface IStringChartValue : IMultipleCellChartValue

属性

名称描述
AsIMultipleCellChartValue { get; }允许获取基础 IMultipleCellChartValue 接口。只读 IMultipleCellChartValue
AsLiteralString { get; set; }如果 DataSourceType 属性为 DataSourceType.StringLiterals,则返回或设置文字字符串。可读写 String。

方法

名称描述
GetCellsAddressInWorkbook()如果 DataSourceType 属性为 DataSourceType.Worksheet,则此方法返回工作簿中表示字符串数据的单元格地址。否则返回空字符串。
SetFromOneCell(IChartDataCell)从指定单元格设置值。
ToString()返回字符串表示形式。

另请参阅