Copy link to clipboard
Copied
Hello Team,
Currently I am working on XML coded water mark settings to update in PDF and need your support to add/calcualte position coding in watermark.below is the code and it doesn't update postion with below code, Hence please check and provide me correct code to update
<?xml version = "1.0" encoding = "UTF-8" ?><WatermarkSettings version = "8.0"><Font type="Type1" size="100.0" name="BlissPro-Bold"/>OUTDATED
<Scale value="1.0"/><Rotation value="45"/><Opacity value="1.0"/><Location ontop="0"/><Color r="0.858826" g="0.858826" b="0.858826"/><Alignment unit="1" horizvalue="0.0" vertvalue="0.0" horizalign="1" vertalign="1"/><Position unit="1" horizvalue="0.6" vertvalue="0.0" horidist="1" vertdist="1"/><Appearance fixedprint="0" onscreen="1" onprint="1"/><PageRange end="-1" odd="1" even="1" start="-1"/></WatermarkSettings>
Hi I figured it out my self and position is now fixed after changing value in Alignment unit, also removed coding for position completely and below is the correct code now.
<?xml version = "1.0" encoding = "UTF-8" ?><WatermarkSettings version = "8.0"><Font type="Type1" size="100.0" name="BlissPro-Bold"/>OUTDATED
<Scale value="1.0"/><Rotation value="45"/><Opacity value="1.0"/><Location ontop="0"/><Color r="0.858826" g="0.858826" b="0.858826"/><Alignment unit="0.35" horizvalue="0.6" vertvalue="0.0"
Copy link to clipboard
Copied
Hi I figured it out my self and position is now fixed after changing value in Alignment unit, also removed coding for position completely and below is the correct code now.
<?xml version = "1.0" encoding = "UTF-8" ?><WatermarkSettings version = "8.0"><Font type="Type1" size="100.0" name="BlissPro-Bold"/>OUTDATED
<Scale value="1.0"/><Rotation value="45"/><Opacity value="1.0"/><Location ontop="0"/><Color r="0.858826" g="0.858826" b="0.858826"/><Alignment unit="0.35" horizvalue="0.6" vertvalue="0.0" horizalign="1" vertalign="1"/><Appearance fixedprint="0" onscreen="1" onprint="1"/><PageRange end="-1" odd="1" even="1" start="-1"/></WatermarkSettings>