Type Definitions

BlankPDFConfiguration

Properties:
Name Type Attributes Description
name string <optional>
The name of the new document.
filePath string <optional>
The directory where the new document should be stored.
width number The width of the new document.
height number The height of the new document.
override boolean If true, will override existing document with the same name.
Source:

DocumentPDFConfiguration

Properties:
Name Type Attributes Description
name string <optional>
The name of the new document.
filePath string <optional>
The directory where the new document should be stored.
documents Array.<PDFDocumentConfiguration> An array of the documents that should be used to construct the new document.
override boolean If true, will override existing document with the same name.
Source:

FormFieldResult

Properties:
Name Type Attributes Description
formElement string <optional>
The form field value
error string <optional>
The error description
Source:

GeneratePDFConfiguration

Properties:
Name Type Attributes Description
name string <optional>
The name of the new document.
filePath string <optional>
The directory where the new document should be stored.
override boolean If true, will override existing document with the same name.
Source:

GeneratePDFResult

Properties:
Name Type Description
fileURL string The path on the filesystem where the new document is stored.
Source:

ImagePDFConfiguration

Properties:
Name Type Attributes Description
name string <optional>
The name of the new document.
filePath string <optional>
The directory where the new document should be stored.
images Array.<PDFImage> An array of the images that should be used to construct the new document.
override boolean If true, will override existing document with the same name.
Source:

InstantConfiguration

Properties:
Name Type Description
enableInstantComments boolean Specifies whether adding comment annotations is allowed.
listenToServerChanges boolean Automatically listen for and sync changes from the server.
delay number Delay in seconds before kicking off automatic sync after local changes are made to the editableDocument’s annotations.
syncAnnotations boolean Specifies whether added annotations are automatically synced to the server.
Source:

InstantDocumentData

Properties:
Name Type Description
jwt string The JWT received as part of the web response.
serverUrl string The server URL received as part of the web response.
Source:

PDFDocumentConfiguration

Properties:
Name Type Description
documentPath string The URI to the existing document.
pageIndex number The index of the page that should be used from the document. Starts at 0.
Source:

PDFImage

Properties:
Name Type Attributes Description
imageUri string The URI to the image file.
position string <optional>
The image position on the PDF page. Options are: top, bottom, left, right, center.
rotation number <optional>
The page rotation, in degrees.
pageMargins PDFTemplatePageMargins <optional>
The page margins.
Source:

PDFTemplate

Properties:
Name Type Attributes Description
pageSize PDFTemplatePageSize The size of the page.
backgroundColor string <optional>
The background color of the page. Can be either a rgba string, for example: rgba(0.871, 0.188, 0.643, 0.5), or standard colors such as blue or yellow.
template string <optional>
Which template to use. Options are: blank, dot5mm, grid5mm, lines5mm and lines7mm.
rotation number <optional>
The page rotation, in degrees.
pageMargins PDFTemplatePageMargins <optional>
The page margins.
Source:

PDFTemplatePageMargins

Properties:
Name Type Description
top number The top margin.
left number The left margin.
right number The right margin.
bottom number The bottom margin.
Source:

PDFTemplatePageSize

Properties:
Name Type Description
width number The width of the page.
height number The height of the page.
Source:

TemplatePDFConfiguration

Properties:
Name Type Attributes Description
name string <optional>
The name of the new document.
filePath string <optional>
The directory where the new document should be stored.
templates Array.<PDFTemplate> An array of the templates that should be used to construct the new document.
override boolean If true, will override existing document with the same name.
Source: