Table of Contents

Class OdfSheetPrintAreaInfo

Namespace
OdfKit.Spreadsheet
Assembly
OdfKit.dll

Represents summary information for a worksheet print area. 表示工作表列印範圍的摘要資訊。

public sealed class OdfSheetPrintAreaInfo
Inheritance
OdfSheetPrintAreaInfo
Inherited Members

Constructors

OdfSheetPrintAreaInfo(string, string)

Represents summary information for a worksheet print area. 表示工作表列印範圍的摘要資訊。

public OdfSheetPrintAreaInfo(string sheetName, string rangeAddress)

Parameters

sheetName string

The sheet name. / 工作表名稱。

rangeAddress string

The print range address string from table:print-ranges. / 列印範圍位址字串(table:print-ranges)。

Properties

RangeAddress

Gets the print range address string. 取得列印範圍位址字串。

public string RangeAddress { get; }

Property Value

string

SheetName

Gets the sheet name. 取得工作表名稱。

public string SheetName { get; }

Property Value

string

Methods

TryGetRange(out OdfCellRange)

Attempts to parse RangeAddress as an OdfCellRange. 嘗試將 RangeAddress 解析為 OdfCellRange

public bool TryGetRange(out OdfCellRange range)

Parameters

range OdfCellRange

The cell range returned when parsing succeeds. / 解析成功時傳回的儲存格範圍。

Returns

bool

true if parsing succeeds. / 若解析成功則為 true