DestinationCollection
概要
DestinationCollection は .NET 用 Aspose.PDF FOSS のクラスです。
Inherits from: System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, object>>。
名前付きデスティネーション コレクションが IEnumerable<KeyValuePair<string, object» として公開されます。
このクラスは .NET プログラムで DestinationCollection オブジェクトを操作するための 10 のメソッドを提供します。
利用可能なメソッドは次のとおりです: Add, Clear, Contains, CopyTo, GetEnumerator, GetExplicitDestination, GetPageNumber, IndexOf, Remove。
すべてのパブリック メンバーは、Aspose.PDF FOSS for .NET パッケージをインストールした後、任意の .NET アプリケーションからアクセス可能です。
プロパティ: Count, IsReadOnly。
プロパティ
| Name | Type | Access | Description |
|---|---|---|---|
Count | int | 読み取り | デスティネーションの数(名前付きデスティネーションツリーエントリとローカルで追加されたオーバーレイエントリの合計)。 |
IsReadOnly | bool | 読み取り | 常に false: 呼び出し元はローカルオーバーレイを介して拡張できる。 |
方法
| Signature | Description |
|---|---|
GetPageNumber(destinameName: string, useCache: bool) | 名前付きデスティネーションの 1 ベースのページ番号を取得します。 |
GetPageNumber(destinameName: string) | 常にキャッシュする便利なオーバーロードです。 |
GetExplicitDestination(destinameName: string, useCache: bool) | 名前付きデスティネーションを ExplicitDestination に解決します。見つからない場合は null を返します。 |
Add(item: System.Collections.Generic.KeyValuePair<string, object>) | ローカルオーバーレイに (name → destination) ペアを追加します。 |
Clear() | すべてのオーバーレイエントリを削除します。 |
Contains(value: System.Collections.Generic.KeyValuePair<string, object>) | スナップショット(名前付きデスティネーションまたはオーバーレイ)に値が存在するかどうか。 |
CopyTo(array: System.Collections.Generic.KeyValuePair<string, object>[], arrayIndex: int) | スナップショットを arrayIndex から始まる配列にコピーします。 |
IndexOf(value: System.Collections.Generic.KeyValuePair<string, object>) | スナップショット内の値のインデックス、存在しない場合は -1。 |
Remove(item: System.Collections.Generic.KeyValuePair<string, object>) | item と一致するオーバーレイエントリを削除します。 |
GetEnumerator() | この DestinationCollection インスタンスで GetEnumerator を呼び出します。 |