DestinationCollection

DestinationCollection

개요

DestinationCollection은 .NET용 Aspose.PDF FOSS의 클래스입니다. 상속 대상: System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, object>>.

Named-destination 컬렉션이 IEnumerable<KeyValuePair<string, object»로 노출됩니다.

이 클래스는 .NET 프로그램에서 DestinationCollection 객체를 작업하기 위한 10개의 메서드를 제공합니다. 사용 가능한 메서드에는: Add, Clear, Contains, CopyTo, GetEnumerator, GetExplicitDestination, GetPageNumber, IndexOf, Remove가 포함됩니다. Aspose.PDF FOSS for .NET 패키지를 설치한 후 모든 .NET 애플리케이션에서 모든 public 멤버에 접근할 수 있습니다. 속성: Count, IsReadOnly.

속성

NameTypeAccessDescription
CountintRead대상 수(명명된 대상 트리 항목 및 로컬에 추가된 오버레이 항목).
IsReadOnlyboolRead항상 false: 호출자는 로컬 오버레이를 통해 확장할 수 있습니다.

방법

서명설명
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) 쌍을 로컬 overlay에 추가합니다.
Clear()모든 overlay 항목을 제거합니다.
Contains(value: System.Collections.Generic.KeyValuePair<string, object>)스냅샷(이름이 지정된 목적지 또는 overlay)에 값이 존재하는지 여부입니다.
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>)항목과 일치하는 overlay 항목을 제거합니다.
GetEnumerator()이 DestinationCollection 인스턴스에서 GetEnumerator를 호출합니다.

또 보기

 한국어