Table of Contents

Class OdtStreamReaderOptions

Namespace
OdfKit.Text
Assembly
OdfKit.dll

Configures resource limits and stream ownership for OdtStreamReader. 設定 OdtStreamReader 的資源限制與資料流所有權。

public sealed class OdtStreamReaderOptions
Inheritance
OdtStreamReaderOptions
Inherited Members

Constructors

OdtStreamReaderOptions()

public OdtStreamReaderOptions()

Properties

LeaveOpen

Gets or sets a value indicating whether the input stream remains open after disposal. 取得或設定處置讀取器後是否保持輸入資料流開啟。

public bool LeaveOpen { get; set; }

Property Value

bool

MaxNodeTextCharacters

Gets or sets the maximum extracted text length for one node. 取得或設定單一節點可擷取的文字長度上限。

public int MaxNodeTextCharacters { get; set; }

Property Value

int

MaxNodes

Gets or sets the maximum number of text nodes returned by the reader. 取得或設定讀取器可回傳的文字節點數上限。

public int MaxNodes { get; set; }

Property Value

int

MaxXmlCharactersInDocument

Gets or sets the maximum XML character count. A value of zero disables this limit. 取得或設定 XML 字元數上限;設為 0 代表停用此限制。

public long MaxXmlCharactersInDocument { get; set; }

Property Value

long