NamedDestinations

NamedDestinations

개요

NamedDestinations은 Aspose.PDF FOSS for Go의 타입입니다.

NamedDestinations은 ISO 32000-1 §12.3.2.3에 따른 이름-대상 매핑입니다.

이 타입은 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는 모든 항목을 제거합니다.

참조

 한국어