AutoXchange 2026 Technical Documentation

Watermark Parameters

The following parameters define the methods for defining Watermarks to be added to drawings. These parameters work for both SVG and PDF output, but not for Raster output.

Watermark Parameters
WATERMARKWatermark file name or text
WATERMARKONBOTTOMPosition watermark on bottom
WM_CONTENTContent of the watermark
WM_LAYOUTAutoCAD Layout, default is ModelSpace
WM_ANCHORHandle of line or point to define position
WM_XHorizontal (X) position
WM_YVertical (Y) position
WM_ANGLEText angle (assume radians, append a ’d’ for degrees)
WM_FONTSTYLETextStyle Font Style to use
WM_COLORAutoCAD Color Index
WM_RGBColor by RGB values

The basic call for the Customer Watermark: -wm_con=“Plot created on/P$$$sysdate$$$” -wm_layout=plan - wm_anchor=90B23A5 -wm_height=6 -wm_x=10 -wm_y=5 -wm_angle=30d

Note: for parameters listed with [] in the command, the part before the brackets is required, but pretty much anything could be used after the requires part and still work. So - wm_continent would work for Content, since it starts with the required -wm_con.

Note: Parameters and JSON Names are case non-sensitive

Content

PARAMETERWM_CONTENT
PurposeThis parameter specifies the contents of the watermark to be displayed. To create a multiple line string then use a line feed, /P, in the string.
Example-WM_CONTENT=“This is a/Pmulti-line watermark”
JSON{“WM_CONTENT”:“This is a/Pmulti-line watermark”}
Usage-WM_CON[TENT]
UseWith SVG and PDF Only

Layout

PARAMETERWM_LAYOUT
PurposeThis parameter specifies the AutoCAD Layout to place the Watermark in. The default is ModelSpace
Example-WM_LAYOUT=“Paper1”
JSON{“WM_LAYOUT”:“Paper1”}
Usage-WM_LAY[OUT]
UseWith SVG and PDF Only

Anchor

PARAMETERWM_ANCHOR
PurposeThis parameter specifies the Handle of a line or point to uses to position the watermark. If WM_X and WM_Y are also used, then they define offsets from this anchor element.
Example-WM_ANCHOR=“A1B”
JSON{“WM_ANCHOR”:“B44C”}
Usage-WM_ANC[HOR]
UseWith SVG and PDF Only

Horizontal Position

PARAMETERWM_X
PurposeThis parameter specifies the horizontal location of the start of the watermark. If the value is followed by % then it specifies the percentage of the width from the left border. If such percentage is negative, then it is from the right border.
Example-WM_X=10%
JSON{“WM_X”:44}
Usage-WM_X
UseWith SVG and PDF Only

Vertical Position

PARAMETERWM_Y
PurposeThis parameter specifies the vertical location of the start of the watermark. If the value is followed by % then it specifies the percentage of the height from the lower border. If such percentage is negative, then it is from the top border.
Example-WM_Y=10%
JSON{“WM_Y”:44}
Usage-WM_Y
UseWith SVG and PDF Only

Angle

PARAMETERWM_ANGLE
PurposeThis parameter specifies any rotation angle for the watermark. By default the angle is in radians, but if there is a “d” appended then the value is in degrees. The angle is counterclockwise from the horizontal axis.
Example-WM_ANGLE=10
JSON{“WM_ANGLE”: -45}
Usage-WM_ANG[LE]
UseWith SVG and PDF Only

Fontstyle

PARAMETERWM_FONTSTYLE
PurposeThis parameter the AutoCAD fontstyle to be used for the text. This does not define a font, but rather a text style.
Example-WM_FONTSTYLE=“MYSTYLE”
JSON{“WM_FONTSTYLE”: “ROMANS”}
Usage-WM_FONT[STYLE]
UseWith SVG and PDF Only

Color Index

PARAMETERWM_COLOR
PurposeThis parameter the AutoCAD Color Index (0 to 255) to be used for the watermark
Example-WM_COLOR=9
JSON{“WM_COLOR”: “127”}
Usage-WM_COL[OR]
UseWith SVG and PDF Only

RGB Color

PARAMETERWM_RGB
PurposeThis parameter the Red, Green and Blue (RGB) values for the color. Each value is defined between 0 and 255.
Example-WM_RGB=“0, 255, 127)”
JSON{“WM_RGB”: “(255, 0, 255)”}
Usage-WM_RGB
UseWith SVG and PDF Only

Watermark

PARAMETERWATERMARK
PurposeActivates watermark using the specified watermark string or data
Example-WATERMARK=“CONFIDENTIAL”
JSON{“Watermark”:“CONFIDENTIAL”}
Alias-WM, -WMDATA
UseWith SVG and PDF Only

Watermark On Bottom

PARAMETERWATERMARKONBOTTOM
PurposePositions the watermark on bottom below other layout elements
Example-WATERMARKONBOTTOM
JSON{“WatermarkOnBottom”:true}
Alias-WB
UseWith SVG and PDF Only
Last updated on 12 Aug 2026
Published on 9 Jun 2020