NamedDestinations
概要
NamedDestinations は Aspose.PDF FOSS for Go の型です。
NamedDestinations は ISO 32000-1 §12.3.2.3 に基づく name-to-destination マップです。
この型は Go プログラム内で NamedDestinations オブジェクトを操作するための 9 つのメソッドを提供します。利用可能なメソッドは次のとおりです: Add, All, Clear, Count, Document, Get, Has, Names, Remove。Aspose.PDF FOSS for Go パッケージをインストールすれば、すべての公開メンバーに任意の Go アプリケーションからアクセスできます。
メソッド
| シグネチャ | 説明 |
|---|---|
Document() → *Document | Document は、このコレクションがバインドされているドキュメントを返します。 |
Count() → int | Count は、登録されたエントリの数を返します。 |
Has(name: string) → bool | Has は、name が登録されているかどうかを報告します。 |
Get(name: string) → Destination | Get は、name の下で登録された宛先を返します。存在しない場合は nil を返します。 |
Add(name: string, dest: Destination) → error | Add は dest を name の下に登録します。 |
Remove(name: string) → bool | Remove はエントリを削除します;存在した場合は true を返します。 |
Names() → []string | Names は、登録されたすべての名前を辞書順でスナップショットスライスとして返します。 |
All() → map[string]Destination | All は name → destination のスナップショットマップを返します。 |
Clear() | Clear はすべてのエントリを削除します。 |