TextSegmentCollection
개요
TextSegmentCollection은 Aspose.PDF FOSS for .NET의 클래스입니다. 상속 대상: System.Collections.Generic.IEnumerable<TextSegment>.
1부터 시작하는 인덱스를 가진 TextSegment 객체들의 컬렉션이며, TextFragment에 속합니다.
이 클래스는 .NET 프로그램에서 TextSegmentCollection 객체를 다루기 위한 6개의 메서드를 제공합니다. 사용 가능한 메서드: Add, Clear, Contains, CopyTo, GetEnumerator, Remove. 모든 public 멤버는 Aspose.PDF FOSS for .NET 패키지를 설치한 후 any .NET 애플리케이션에서 접근할 수 있습니다. 속성: Count, IsReadOnly, IsSynchronized, SyncRoot.
속성
| 이름 | 유형 | 액세스 | 설명 |
|---|---|---|---|
Count | int | 읽기 | 세그먼트 수. |
IsReadOnly | bool | 읽기 | 읽기 전용 여부를 가져옵니다. |
IsSynchronized | bool | 읽기 | 동기화 여부를 가져옵니다. |
SyncRoot | object | 읽기 | 동기화 루트를 가져옵니다. |
메서드
| 시그니처 | 설명 |
|---|---|
Add(segment: TextSegment) | 이 TextSegmentCollection 인스턴스에서 Add(segment)를 호출합니다. |
Contains(item: TextSegment) | 이 TextSegmentCollection 인스턴스에서 Contains(item)를 호출합니다. |
CopyTo(array: TextSegment[], index: int) | 이 TextSegmentCollection 인스턴스에서 CopyTo(array, index)를 호출합니다. |
Remove(item: TextSegment) | 이 TextSegmentCollection 인스턴스에서 Remove(item)를 호출합니다. |
Clear() | 이 TextSegmentCollection 인스턴스에서 Clear를 호출합니다. |
GetEnumerator() | 이 TextSegmentCollection 인스턴스에서 GetEnumerator를 호출합니다. |