Hierarchy
- Watermarks
Methods
applyToFile
-
Add a watermark to a file.
The method doesn’t change the source file whose ID is passed in the
fileId
parameter. It creates a temporary file with a watermark. Adding watermarks is available for files of the following formats: .xls, .xlsx, . doc, .docx, and .pdf. Read more about using watermarks in the Print form article.Parameters
-
fileId: string
-
watermarks: Watermark[]
Returns Promise<FileItemRef>
The instance of FileItemRef referencing a temporary file with a watermark.
-
Object for working with watermarks