Click here to Skip to main content
15,888,160 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
I am making software in which i want one form such that it should have text area that can be written by user and the fix images which cant be modified,so user can print there letterhead after writing there content.how to implement this in simple manner.correct me if there is error in my question.
Posted
Updated 2-Nov-12 1:29am
v2

1 solution

There are a few ways to go about this. You can do this without a third-party control by using the Open XML SDK for Office Documents. That SDK provides methods to manipulate Office documents and their contents. You could use these to load a template file which contained your letterhead in the header section. Present the body of the document in a rich text control and then save it out to a new Office document when the user is done.

Alternately, there are some third party controls such as Telerik's RichEdit that know how to open/save Office documents and present a full editing environment. We are currently using that control in one of our solutions doing the exact same thing. Except we store the resulting document in a database blob field and our interface is Silverlight.
 
Share this answer
 
Comments
fjdiewornncalwe 2-Nov-12 16:47pm    
+5. Excellent options.
Maciej Los 2-Nov-12 18:09pm    
Agree, +5!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900