This is a migrated thread and some comments may be shown as answers.

problem creating watermark programatically

1 Answer 96 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Christhian
Top achievements
Rank 1
Christhian asked on 25 May 2016, 11:26 PM

Hi

I have an application where i need generate a document(comprobant without validation) and add a watermark, this text i obtain from databse.

Of course this watermark i need to be visible, when generating a long string with font size Unit.Point(24D), this does newline, but the text is cutted

there is something that can be done for this situation.

Thanks in advance!!

 

Regards

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 26 May 2016, 12:47 PM
Hello Christhian,

Below is a quote from my response to your colleague's inquiry:

"The text will be rendered as a continues line in the selected direction, unless a NewLine occurs in the string. For example test an input like:
='Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
 quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.'
There are two new lines and the watermark will appear as 3 rows of text."


If you need further help, please let us continue the discussion in one of both threads. This will let us keep a better track on the exchanged information.
Thank you for your understanding.

Regards,
Stef
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Christhian
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or