Text Box Watermark API
Stamp a PDF with the text box.
Stamp or watermark a PDF with the text box.
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 whether to enable word wrap in case text does not fit in one line.
Specifies the watermark font name. Contact us if you are looking for a specific font for a watermark that is missing from the list.
Specifies the text rendering mode.
Specifies watermark style, stamp or watermark. The stamp is placed over page content and watermark under page content.
Specifies whether to use the page rotation parameter when placing watermark.
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.
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.
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 default zoom percentage for when you open PDF files .
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.
Code snippet
// Code snippet is using the ConvertAPI JavaScript Client: https://github.com/ConvertAPI/convertapi-js
// Code snippet is using the ConvertAPI Node.js Client: https://github.com/ConvertAPI/convertapi-nodejs
// Code snippet is using the ConvertAPI PHP Client: https://github.com/ConvertAPI/convertapi-php
// Code snippet is using the ConvertAPI Java Client: https://github.com/ConvertAPI/convertapi-java
// Code snippet is using the ConvertAPI C# Client: https://github.com/ConvertAPI/convertapi-dotnet
# Code snippet is using the ConvertAPI Ruby Client: https://github.com/ConvertAPI/convertapi-ruby
# Code snippet is using the ConvertAPI Python Client: https://github.com/ConvertAPI/convertapi-python
// Code snippet is using the ConvertAPI Go Client: https://github.com/ConvertAPI/convertapi-go
REM Code snippet is using the command line utility program: https://github.com/ConvertAPI/convertapi-cli
<!-- For conversions with the multiple file result please refer to this example: https://repl.it/@ConvertAPI/HTML-Form-with-multiple-file-result -->