EmbeddedFileCollection

EmbeddedFileCollection

개요

EmbeddedFileCollection은 .NET용 Aspose.PDF FOSS의 클래스입니다. 상속 대상: IReadOnlyList<FileSpecification>.

문서에 포함된 파일 컬렉션.

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

속성

NameTypeAccessDescription
CountintRead카운트를 가져옵니다.
IsSynchronizedboolRead동기화 여부를 가져옵니다.
SyncRootobjectRead동기화 루트를 가져옵니다.
KeysList<string>Read이 컬렉션에 포함된 모든 임베디드 파일의 이름.

방법

시그니처설명
Add(file: FileSpecification)문서에 임베디드 파일 첨부를 추가합니다.
Add(key: string, file: FileSpecification)명시적인 이름으로 추가하여 사양의 자체 Name을 재정의합니다.
CopyTo(array: FileSpecification[], index: int)이 EmbeddedFileCollection 인스턴스에서 CopyTo를 호출합니다.
FindByName(name: string)등록된 이름으로 임베디드 파일을 조회합니다.
DeleteByKey(key: string)키 기반 명명을 사용한 Delete(string)의 형제 메서드입니다.
Delete()문서의 /Names/EmbeddedFiles 이름 트리에서 모든 임베디드 파일을 제거합니다.
Delete(name: string)이름으로 단일 임베디드 파일을 제거합니다.
GetEnumerator()이 EmbeddedFileCollection 인스턴스에서 GetEnumerator를 호출합니다.

또 보기

 한국어