I want to print two or more watermarks in my application.
The following initialization code did not work properly.
(development environment: Delphi 7, & PDF X-Change ver.4.0 build 181)
Code: Select all
procedure TForm1.InitPDFPrinter;
begin
pPrinter.Option['Watermarks.Enabled'] := True;
pPrinter.AddTextWatermark(
'WM1','AAAAAA', 'Arial', 0, 0, 0, 0, 0, 0, 17, 0, 0, 0, 50, 28, 0, ''
);
pPrinter.AddTextWatermark(
'WM2','BBBBBB', 'Arial', 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 50, 28, 0, ''
);
pPrinter.Option['Watermarks.Watermarks'] := 'WM1,WM2';
pPrinter.ApplyOptions(0);
end;
"A comma to separate the list of watermark names should be added to the document."
Property of "Watermarks.Watermarks" What is wrong to set?
Thanks,