IStringOrDoubleChartValue

All Implemented Interfaces: com.aspose.slides.ISingleCellChartValue

public interface IStringOrDoubleChartValue extends ISingleCellChartValue

Represent string or double 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.

Methods

MethodDescription
getAsLiteralString()Returns or sets the literal string if DataSourceType property is DataSourceType.StringLiterals.
setAsLiteralString(String value)Returns or sets the literal string if DataSourceType property is DataSourceType.StringLiterals.
getAsLiteralDouble()Returns or sets the literal double if DataSourceType property is DataSourceType.DoubleLiterals.
setAsLiteralDouble(double value)Returns or sets the literal double if DataSourceType property is DataSourceType.DoubleLiterals.
toDouble()Converts value to double.

getAsLiteralString()

public abstract String getAsLiteralString()

Returns or sets the literal string if DataSourceType property is DataSourceType.StringLiterals. Read/write String.

Returns: java.lang.String

setAsLiteralString(String value)

public abstract void setAsLiteralString(String value)

Returns or sets the literal string if DataSourceType property is DataSourceType.StringLiterals. Read/write String.

Parameters:

ParameterTypeDescription
valuejava.lang.String

getAsLiteralDouble()

public abstract double getAsLiteralDouble()

Returns or sets the literal double if DataSourceType property is DataSourceType.DoubleLiterals. Read/write double.

Returns: double

setAsLiteralDouble(double value)

public abstract void setAsLiteralDouble(double value)

Returns or sets the literal double if DataSourceType property is DataSourceType.DoubleLiterals. Read/write double.

Parameters:

ParameterTypeDescription
valuedouble

toDouble()

public abstract double toDouble()

Converts value to double.

Returns: double - Double value double