problem creating watermark programatically

2 posts, 0 answers
  1. Christhian
    Christhian avatar
    1 posts
    Member since:
    Apr 2016

    Posted 25 May 2016 Link to this post


    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!!



  2. Stef
    Stef avatar
    3610 posts

    Posted 26 May 2016 Link to this post

    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.

    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
Back to Top