Hi there,
how can I repeat a div on each page on the same position?
I need this because I am trying to add the below
Hi there,
how can I repeat a div on each page on the same position?
I need this because I am trying to add the below
Why not set the Watermark image as the background of the Section? Or use a Master Page?
Thank you for the reply!
I followed this documentation page:
https://help.objectiflune.com/EN/planetpress-connect-user-guide/1.6/#designer/Scripting/Scripting_Print_Background.htm
I wrote this control script:
var bgUrl = “images/versionNonValide.pdf”;
var bg = merge.template.contexts.PRINT.sections[“Section 1”];
bg.background.source = BackgroundResource.RESOURCE_PDF;
if(record.fields.V_DEVI_STATUS==“0”){
bg.background.allPages = true;
bg.background.url=bgUrl;
bg.position = MediaPosition.FIT_TO_MEDIA;
bg.background.left = “50mm”;
bg.background.top = “100mm”;
bg.background.scale = 120;
}
my problem is that this watermarks is only working on 1st page!
any tips?
Thank you.