FileAttachmentAnnotation

FileAttachmentAnnotation

개요

FileAttachmentAnnotation은(는) Aspose.PDF FOSS의 TypeScript용 클래스입니다. 상속 대상: Annotation.

/FileAttachment 주석: 페이지에 표시되는 아이콘으로, 해당 /FS가 파일을 포함합니다.

이 클래스는 TypeScript 프로그램의 FileAttachmentAnnotation 객체를 위해 3개의 메서드를 선언합니다. 사용 가능한 메서드에는 Flatten, GetBytes, constructor가 포함됩니다. Aspose.PDF FOSS for TypeScript 패키지를 설치한 후 모든 TypeScript 애플리케이션에서 모든 공개 멤버에 접근할 수 있습니다. 속성: Color, Contents, Description, FileName, Flags, Hidden, 그리고 8개 더.

속성

이름유형액세스설명
Iconstring읽기/쓰기아이콘을 가져옵니다.
FileNamestring읽기파일 이름을 가져옵니다.
Description`stringundefined`읽기
Subtypestring읽기서브타입을 가져옵니다.
Rect`[number, number, number, number]undefined`읽기/쓰기
Color`[number, number, number]undefined`읽기/쓰기
Contents`stringundefined`읽기/쓰기
Name`stringundefined`읽기/쓰기
Layer`Layerundefined`읽기/쓰기
ModDate`Datestringundefined`
Flagsnumber읽기/쓰기플래그를 가져옵니다.
Printboolean읽기/쓰기인쇄를 가져옵니다.
Hiddenboolean읽기/쓰기숨김을 가져옵니다.
Opacity`numberundefined`읽기/쓰기

메서드

시그니처설명
GetBytes() → Uint8Array내장된 바이트를 디코드합니다.
constructor(doc: Document, Dict: PdfDict)이 FileAttachmentAnnotation 인스턴스에서 constructor(doc, Dict)를 호출합니다.
Flatten() → boolean이 주석만 정적 페이지 내용에 삽입하십시오: 해당 주석의 /AP /N 외관을 페이지의 /Contents에 있는 /Rect 위치에 그린 다음 /Annots에서 삭제합니다.
 한국어