跳到主要内容

WatermarkOnDrawDto

The watermark the editor draws over every page.

NameTypeDescriptionNotes
widthDouble (double)Defines the watermark width measured in millimeters.[optional] [example: 150]
heightDouble (double)Defines the watermark height measured in millimeters.[optional] [example: 100]
marginsList (int32)Defines the watermark margins measured in millimeters.[optional] [example: [10, 10, 10, 10]] [nullable]
fillStringDefines the watermark fill color.[optional] [example: #FF0000] [nullable]
rotateInteger (int32)Defines the watermark rotation angle.[optional] [example: 45]
transparentDouble (double)Defines the watermark transparency percentage.[optional] [example: 0.4]
paragraphsListThe list of paragraphs of the watermark.[optional] [example: [{align=2, runs=[{fill=[124, 124, 124], text=CONFIDENTIAL, fontSize=26}]}]] [nullable]