Is it possible to change a Text's content?

Lars-Erik
2009-02-18
2013-01-26
  • Lars-Erik

    Lars-Erik - 2009-02-18

    Hi!

    I've got some requirements to fill and been fiddling a bit too see if they can be filled by PDF Clown. I'm not sure how much labour I have to put in though, so hoping I can get some pointers. :)

    Here's what I want to do:
    - Open a "template" pdf
    - Modify a text string (name of member in store chain)
    - Modify the width of a background rectangle

    Do I have to start out with less inn the template and create the box and text over to achieve this, or can i do something like
    Find(boxId).Width = n;
    Find(textId).Text = "New name";

    On a sidenote, when I tried to look at page.Contents when debuggin using VS 2008 watch, .Count is 0, but when assigned to a List<ContentObject>, it's 1+.. A bit confusing.

    All in all though, good work! :)

    Lars-Erik

     
    • Lars-Erik

      Lars-Erik - 2009-02-18

      Sorry for posting in wrong forum. :S

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks