469,621 Members | 1,796 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,621 developers. It's quick & easy.

Need help with using ActivePDF to fill form

1
Im using the ActivePDF Toolkit to programmatically fill in a PDF document using .NET. I have a mulitline textfield (textbox), and I want to be able to insert a newline character. I cannot find a way to do this. I tried outputting these, but none work. Please help!

1) "This is Line 1" + "\n" + "This is Line 2"

2) "This is Line 1" + Environment.NewLine + "This is Line 2"

3) "This is Line 1" + ControlChars.CrLf + "This is Line 2"

4) "This is Line 1" + "<br />" + "This is Line 2"

Maybe if I set this textfield to allow rich text format, and then I might be able to to apply some rich text formatting to make it work? But I dont know the syntax for rich text...help?

Also, I notice that you can add a Custom Format Script (javascript) to the textfield. Would I be able to do it this way. please help! Thanks.
Aug 20 '07 #1
1 1552
To get a breakline use & Chr(13) for the break line
Jul 12 '11 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by Chris | last post: by
2 posts views Thread by darrel | last post: by
reply views Thread by alan | last post: by
3 posts views Thread by Alexander Overmann | last post: by
6 posts views Thread by smk17 | last post: by
reply views Thread by devrayhaan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.