Skip to content
文档目录

Class: FileDescriptor

Table of contents

Constructors

Properties

Constructors

constructor

• new FileDescriptor(params)

Parameters

NameType
paramsFileDescriptorParams

Properties

document

• document: PDFDocumentProxy

PDFjs解析的pdf代理对象


filename

• filename: string

文件名


id

• id: string

文件id


isEncrypted

• isEncrypted: boolean


pageSize

• pageSize: number

当前文件页码


pdfInfo

• pdfInfo: Record<string, any>

PDF 元信息,包含 pdf 版本号等内容


rawFileData

• rawFileData: Uint8Array

Uint8Array 格式存储的 PDF 二进制文件


signatureContext

• signatureContext: PDFSignatureContext

签名上下文信息:内部使用


stampers

• stampers: Stamper[]

当前 pdf 中被添加的印章:内部使用,并非 pdf 文档上已经被加盖的印章


type

• type: FileDescriptorType

当前文件类型:一般为 pdf