NamedDestinations

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() → *DocumentDocument は、このコレクションがバインドされているドキュメントを返します。
Count() → intCount は、登録されたエントリの数を返します。
Has(name: string) → boolHas は、name が登録されているかどうかを報告します。
Get(name: string) → DestinationGet は、name の下で登録された宛先を返します。存在しない場合は nil を返します。
Add(name: string, dest: Destination) → errorAdd は dest を name の下に登録します。
Remove(name: string) → boolRemove はエントリを削除します;存在した場合は true を返します。
Names() → []stringNames は、登録されたすべての名前を辞書順でスナップショットスライスとして返します。
All() → map[string]DestinationAll は name → destination のスナップショットマップを返します。
Clear()Clear はすべてのエントリを削除します。

参照

 日本語