Class OdfSparklineInfo
- Namespace
- OdfKit.Spreadsheet
- Assembly
- OdfKit.dll
Represents a sparkline in a LibreOffice calcext sparkline group. 表示 LibreOffice calcext 走勢圖群組內的一筆走勢圖。
public sealed class OdfSparklineInfo
- Inheritance
-
OdfSparklineInfo
- Inherited Members
Constructors
OdfSparklineInfo(string, string)
Represents a sparkline in a LibreOffice calcext sparkline group. 表示 LibreOffice calcext 走勢圖群組內的一筆走勢圖。
public OdfSparklineInfo(string dataRangeRef, string hostCellRef)
Parameters
dataRangeRefstringThe data source range address from
calcext:dataRangeRef. / 資料來源範圍位址(calcext:dataRangeRef)。hostCellRefstringThe cell address that displays the sparkline from
calcext:hostCellRef. / 顯示走勢圖的儲存格位址(calcext:hostCellRef)。
Properties
DataRangeRef
Gets the data source range address. 取得資料來源範圍位址。
public string DataRangeRef { get; }
Property Value
HostCellRef
Gets the cell address that displays the sparkline. 取得顯示走勢圖的儲存格位址。
public string HostCellRef { get; }
Property Value
Methods
TryGetDataRange(out OdfCellRange)
Attempts to parse DataRangeRef as an OdfCellRange. 嘗試將 DataRangeRef 解析為 OdfCellRange。
public bool TryGetDataRange(out OdfCellRange range)
Parameters
rangeOdfCellRangeThe cell range returned when parsing succeeds. / 解析成功時傳回的儲存格範圍。
Returns
TryGetHostCell(out OdfCellAddress)
Attempts to parse HostCellRef as an OdfCellAddress. 嘗試將 HostCellRef 解析為 OdfCellAddress。
public bool TryGetHostCell(out OdfCellAddress address)
Parameters
addressOdfCellAddressThe cell address returned when parsing succeeds. / 解析成功時傳回的儲存格位址。