Rendering of watermark text

Stimulsoft Reports.JS discussion
Post Reply
Lars
Posts: 5
Joined: Wed Feb 07, 2018 12:12 pm

Rendering of watermark text

Post by Lars » Wed Feb 07, 2018 3:41 pm

Hello,
I want to use different previews, a pdf-export and perhaps a direct print-function of a report with own watermark text. But the presentation changes dependent from view.
- Using StiPdfExportService with javascript ... all things seem to be ok.
- In a html-div (using javascript function StiViewer.renderHtml) I get different views dependent from zoom (setting StiViewerOptions.toolbar.zoom by javascript).
It seems that watermark isn't zoomed / scaled. Additionally watermark appears in the background and therefore parts of watermark are hidden (maybe because of the first issue).
- Watermark is not visible if I call StiReport.print().
- unimportant: In the preview of installed "Stimulsoft-Designer-2018.1.6-JS" (german language) the watermark text appears behind a data band (but with correct xy-position).

I'm using Chrome-Browser / Windows10.

Thanks
HighAley
Posts: 7832
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Rendering of watermark text

Post by HighAley » Sat Feb 10, 2018 1:32 pm

Hello.

Code: Select all

- In a html-div (using javascript function StiViewer.renderHtml) I get different views dependent from zoom (setting StiViewerOptions.toolbar.zoom by javascript).
It seems that watermark isn't zoomed / scaled. Additionally watermark appears in the background and therefore parts of watermark are hidden (maybe because of the first issue).
Do you use text watermark or image? We know about the issue with image, but can't reproduce the issue with text.

Code: Select all

- Watermark is not visible if I call StiReport.print().
Sorry, we can't reproduce the issue too. Could you send us more detailed description of the issue with samples?

Code: Select all

- unimportant: In the preview of installed "Stimulsoft-Designer-2018.1.6-JS" (german language) the watermark text appears behind a data band (but with correct xy-position).
Yes, the watermark is shown on the background. If you get any issue with this let us know.

Thank you.
Lars
Posts: 5
Joined: Wed Feb 07, 2018 12:12 pm

Re: Rendering of watermark text

Post by Lars » Tue Feb 13, 2018 1:36 pm

Hello,
I'm using a text watermark.
I created a small test-project now (based on current Stimulsoft-js-example), my attachment contains changed files only.

Additionally:
- In screenshot you can see a small (scaled) text "Trial" and a big (not scaled) text "Entwurf" after setting zoom=25%.
- Text "Trial" is in front but text "Entwurf" is behind data band (but it should be in front of the table).
- Quick-and-dirty-test of report.print(): If I insert into Stimulsoft-js-example after

Code: Select all

report.render();
additional code

Code: Select all

report.print();
then text "Entwurf" is not visible in print preview of chrome. In my own project (with typescript) I have a separate button and make a single call report.print() only, and the report is shown in preview window without "Entwurf".

Thank you
Attachments
ViewWithWatermark.png
Watermark with not scaled text "Entwurf" behind data band
ViewWithWatermark.png (20.28 KiB) Viewed 705 times
ChangesInStimulsoftJsExample.zip
Changed files of Stimulsoft-js-example
(7.92 KiB) Downloaded 41 times
HighAley
Posts: 7832
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Rendering of watermark text

Post by HighAley » Mon Feb 19, 2018 6:59 pm

Hello.

Sorry for the delay with answer.
We have got some problems with Watermarks.
We are working on this and other issues with the watermark.
We will let you know when we get any result.

Thank you.

Ticket reference: #5766
User avatar
tpontow
Posts: 198
Joined: Thu Sep 06, 2012 8:46 am
Location: Bonn, Germany

Re: Rendering of watermark text

Post by tpontow » Thu Apr 05, 2018 12:35 pm

Hello HighAley,

how can one get Access or have a look onto this ticket with ticket reference: #5766?

Greetings
Thorsten Pontow
Thorsten Pontow

It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
Lech Kulikowski
Posts: 513
Joined: Tue Mar 20, 2018 5:34 am

Re: Rendering of watermark text

Post by Lech Kulikowski » Thu Apr 05, 2018 7:08 pm

Hello,

It is our internal ticket system.

You can send request and check status on stimulsoft.zendesk.com

Thank you.
Post Reply