Paragraphs
개요
Paragraphs은 Aspose.PDF FOSS for .NET에 포함된 클래스입니다. 상속 대상: IList<BaseParagraph>, IReadOnlyList<BaseParagraph>.
페이지, 셀, HeaderFooter 또는 FloatingBox에 연결된 단락 수준 콘텐츠(텍스트 조각, 표, 이미지, 헤더/푸터 조각 등)를 위한 컨테이너.
이 클래스는 .NET 프로그램에서 Paragraphs 객체를 다루기 위한 14개의 메서드를 제공합니다. 사용 가능한 메서드에는 Add, AddRange, Clear, Clone, Contains, CopyTo, GetEnumerator, GetRange, IndexOf, Insert, InsertRange, Remove 및 추가 메서드 2개가 포함됩니다. 모든 공개 멤버는 Aspose.PDF FOSS for .NET 패키지를 설치한 후 모든 .NET 애플리케이션에서 접근할 수 있습니다. 속성: Count, IsReadOnly.
속성
| 이름 | 유형 | 액세스 | 설명 |
|---|---|---|---|
Count | int | 읽기 | 카운트를 가져옵니다. |
IsReadOnly | bool | 읽기 | 읽기 전용인지 가져옵니다. |
메서드
| 시그니처 | 설명 |
|---|---|
Add(paragraph: BaseParagraph) | 이 Paragraphs 인스턴스에서 Add(paragraph)를 호출합니다. |
Insert(index: int, paragraph: BaseParagraph) | 이 Paragraphs 인스턴스에서 Insert(index, paragraph)를 호출합니다. |
AddRange(items: IEnumerable<BaseParagraph>) | 이 Paragraphs 인스턴스에서 AddRange(items)를 호출합니다. |
InsertRange(index: int, collection: IEnumerable<BaseParagraph>) | 이 Paragraphs 인스턴스에서 InsertRange(index, collection)를 호출합니다. |
RemoveRange(index: int, count: int) | index부터 count 항목을 삭제합니다. |
GetRange(index: int, count: int) | 하위 범위를 잘라 새로운 Paragraphs 컬렉션을 만듭니다. |
Clone() | 컬렉션의 얕은 복사(항목이 참조에 의해 공유됩니다). |
Clear() | 이 Paragraphs 인스턴스에서 Clear를 호출합니다. |
Contains(item: BaseParagraph) | 이 Paragraphs 인스턴스에서 Contains(item)를 호출합니다. |
CopyTo(array: BaseParagraph[], arrayIndex: int) | 이 Paragraphs 인스턴스에서 CopyTo(array, arrayIndex)를 호출합니다. |
IndexOf(item: BaseParagraph) | 이 Paragraphs 인스턴스에서 IndexOf(item)를 호출합니다. |
Remove(paragraph: BaseParagraph) | paragraph의 첫 번째 발생을 삭제합니다. |
RemoveAt(index: int) | 이 Paragraphs 인스턴스에서 RemoveAt(index)를 호출합니다. |
GetEnumerator() | 이 Paragraphs 인스턴스에서 GetEnumerator를 호출합니다. |