Attachment

개요

Attachment은 Aspose.PDF FOSS에서 TypeScript을 위한 클래스입니다.

하나의 임베디드 파일의 /Filespec에 대한 실시간 핸들.

이 클래스는 TypeScript 프로그램의 Attachment 객체를 위해 5개의 메서드를 선언합니다. 사용 가능한 메서드에는 GetBytes, GetField, RemoveField, SetField, constructor가 포함됩니다. 모든 public 멤버는 Aspose.PDF FOSS for TypeScript 패키지를 설치한 후 모든 TypeScript 애플리케이션에서 접근할 수 있습니다. 속성: CreationDate, Description, MimeType, ModDate, Name, Size.

속성

이름유형액세스설명
Namestring읽기이름을 가져옵니다.
Description`stringundefined`읽기
MimeType`stringundefined`읽기
Size`numberundefined`읽기
CreationDate`Dateundefined`읽기
ModDate`Dateundefined`읽기

메서드

시그니처설명
constructor(doc: Document, Dict: PdfDict, fallbackName: string)이 Attachment 인스턴스에서 constructor(doc, Dict, fallbackName)를 호출합니다.
GetBytes() → Uint8Array내장된 바이트를 디코드하고, FlateDecode가 존재하면 압축을 해제합니다.
GetField(field: string) → `stringnumber
`SetField(field: string, value: stringnumber
RemoveField(field: string)사용자 정의 /CI 필드 값을 제거하고, /Type만 남을 경우 /CI를 삭제합니다.
 한국어