Text Box Watermark PDF using NodeJS
Stamp a PDF with the text box.
Stamp or watermark a PDF with the text box.
Process and convert files in seconds with our high-performance cloud infrastructure.
Our advanced algorithms ensure pixel-perfect and content-accurate file conversions.
ISO 27001, HIPAA, SOC 2, and GDPR compliant with encrypted file processing.
Strategically located servers ensure low latency and high availability worldwide.
Comprehensive SDKs and clear documentation for quick and simple integration.
Automate repetitive document workflows and focus on what matters most.
Easy Text Box Watermark PDF integration programmatically using our simple Node.js SDK
Install our convertapi library from npm: npm install convertapi --save.
Sign up for a free account and authenticate the library using your Secret key or API token.
Set up the conversion parameters, and copy the auto-generated code snippet in your account dashboard.
Fine-tune your automation with these powerful conversion options
Sets the password to open protected documents.
Set page range. Example 1-10 or 1,2,5.
Specifies the text to use as text box watermark. The list of supported variables: %N% - new line, %PAGE% - current page number, %PAGES% - total number of pages, %FILENAME% - name of the file, %WEEKDAY% - full weekday name, %WEEKDAY_SHORT% - abbreviated weekday name, %MONTH% - month number (1-12), %MONTHNAME% - full month name, %MONTHNAME_SHORT% - abbreviated month name, %YEAR% - year with century (YYYY), %YEAR_SHORT% - year without century (YY), %DAY% - day of month, %DAY_YEAR% - day of the year (1 -366), %HOUR% - hour (01- 12), %HOURS% - hour (00-23), %MINUTES% - minutes (00-59), %SECONDS% - seconds (00-59), %AMPM% - AM PM, %DATE% - local date representation, %TIME% - local time representation, %DATETIME% - local date and time, %AUTHOR% - document Author, %TITLE% - document Title, %SUBJECT% - document Subject, %KEYWORDS% - document Keywords.
Specifies the watermark text align.
Available values: left center right
Specifies whether to enable word wrap in case text does not fit in one line.
Specifies the watermark text line spacing.
Specifies the watermark font name. Contact us if you are looking for a specific font for a watermark that is missing from the list.
Available values: Arial Bahnschrift Calibri Cambria Consolas Constantia Courier New Georgia Tahoma Times New Roman Verdana
Specifies the watermark font size.
Specifies the watermark font color.
Specifies font stroke color.
Specifies the stroke width.
Specifies whether fonts should be embedded.
Specifies whether fonts should be subset.
Specifies the font encoding.
Specifies the text rendering mode.
Available values: fill text without stroke stroke text without fill fill and stroke invisible
Specifies the watermark rotation angle in degrees.
Specifies watermark opacity level.
Specifies watermark style, stamp or watermark. The stamp is placed over page content and watermark under page content.
Available values: stamp watermark
Specifies the web address to go when the watermark is clicked.
Specifies the page number to go when the watermark is clicked.
Specifies whether to use the page rotation parameter when placing watermark.
Specifies whether to use the page crop box to position watermark.
Specifies the horizontal watermark alignment.
Available values: left center right
Specifies the vertical watermark alignment.
Available values: top center bottom
Specifies the watermark X coordinate. If set overrides property HorizontalAlignment.
Specifies the watermark Y coordinate. If set overrides property VerticalAlignment.
Specifies measurement unit to use for the PositionX and PositionY properties.
Available values: points inches millimeters centimeters
Specifies the watermark height.
Specifies the watermark width.
Embed fonts in PDF.
Include in the output PDF document only the font characters that are used in the original document.
Sets the Subset Fonts threshold. If the percentage of used characters, compared with total characters of the particular font, exceeds this threshold, the entire font is embedded.
Set PDF version.
Available values: Acrobat 3 (PDF 1.2) Acrobat 4 (PDF 1.3) Acrobat 5 (PDF 1.4) Acrobat 6 (PDF 1.5) Acrobat 7 (PDF 1.6) Acrobat 8 (PDF 1.7) Acrobat 9 (PDF 1.7, e-level 3) Acrobat DC (PDF 2.0)
Set PDF resolution.
Provide a value to customize the PDF title. Otherwise, the default document title will be used. Use single quotes and a space (' ') to remove the title.
Provide a value to customize the PDF subject. Otherwise, the default document subject will be used. Use single quotes and a space (' ') to remove the subject.
Provide a value to customize the PDF author. Otherwise, the default document author will be used. Use single quotes and a space (' ') to remove the author.
Provide a value to customize the PDF keywords. Otherwise, the default document keywords will be used. Use single quotes and a space (' ') to remove the keywords.
Set the page number at which the PDF document should open.
Set the default zoom percentage for when you open PDF files .
Available values: Default Actual Size Fit Page Fit Width Fit Height Fit Visible 25% 50% 75% 100% 125% 150% 200% 400% 800% 1600% 2400% 3200% 6400%
Automatically rotate pages based on the orientation of the text. By Page option will rotate each page based on the direction of the text on that page. All option will rotate all pages in the document based on the orientation of the majority of text.
Available values: Disabled By Page All
Set PDF color space.
Available values: Default RGB CMYK Gray
Our user-friendly interactive demo enables you to easily set up and test the conversion from your account dashboard with just a few simple clicks.
Upload your PDF document that you wish to convert, and set up any additional conversion parameters using our intuitive and user-friendly interface. You can fine-tune and adjust the conversion parameters to suit your needs with no technical knowledge required.
Get Started for FreeWhen you have your conversion parameters set up, you can run the conversion and download the converted document to evaluate the Text Box Watermark PDF conversion quality. You can further adjust the parameters if needed, until you are satisfied with the result.
Get Started for FreeOnce you are happy with the conversion result, you can copy the auto-generated code snippet to your project and use it to perform the conversion programmatically. This will save you time and effort, and you will be able to focus on your project development.
Get Started for FreeHighest rated File Conversion API on major B2B software listing platforms: Capterra, G2, and Trustpilot.
"ConvertAPI has been a game-changer for our document automation workflows. Their conversion accuracy and API reliability are unmatched in the industry for over 7 years."
"ConvertAPI is a reliable, cost-effective solution with a proven track record of stability. It has grown significantly in maturity, adopting enterprise-grade practices over the years."
"We've integrated ConvertAPI across our entire document processing platform. The performance is exceptional and the support team is always responsive. Highly recommended!"
We ensure that all document processing is handled securely in the cloud, adhering to industry-leading standards like ISO 27001, GDPR, and HIPAA. To enhance security even further, we can ensure that no files or data are stored on our servers and never leave your country.
Learn more about security