Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface InsertOptions

brief

Insert Options.

Hierarchy

  • InsertOptions

Index

Properties

destIndex

destIndex: number
bref

{number} - A page index in current PDF document. Default value:0. If less than 0 or more than total page, will throw error

endIndex

endIndex: number
bref

{number} - The end index of a range segment. Default value:0. Support negative number, but if total page is 11, the -12 will throw error.

file

file: Blob | ArrayBuffer
bref

{File|Blob|ArrayBuffer|TypeArray|ViewData} - Specify PDF file's stream where pages will be exported from.

flags

flags: number
bref

{number} - Options for importing pages.0:Import pages normally.1:Import pages with layers. Default value:0.

layerName

layerName: string
bref

{string} - The name of non-selectable label or the prefix name of the non-selectable label to be shown in layer panel of application. If parameter flags is 1, this should not be empty and should be a valid string. If parameter flags is not 1, this string will be ignored.

Optional password

password: string
bref

{string} - Specify document's password. It can be left empty.

startIndex

startIndex: number
bref

The start index of a range segment. Default value:0. Support negative number, but if total page is 11, the -12 will throw error.