document generator
i m ceating a document generator same as ms word in c#. i created basic functionality. but for terms like margin,header,footer,intendation n table orientaion are becomng difficult terms.
Plz help me out in this...
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Bechir BejaouiPosted Feb 12, 2009, 5:10 AM
kunal ranePosted Feb 11, 2009, 8:19 AM
regardng other part i m trying my best...
well if any other probs occurs ,i wl ask u definately....
thnx for ur reply...it was really helpfullll
Bechir BejaouiPosted Feb 10, 2009, 5:07 AM
For the table, you can create a class that is called table. The GDI + and especially the graphicpath and lines objectscould help you draw table using lines.
For the indentation there is a function with a string class that lets you do that the PadLeft.
http://msdn.microsoft.com/en-us/library/system.string.padleft.aspx
This is a code example that helps you align strings with spaces I think that is important too
http://www.csharp-examples.net/align-string-with-spaces/
What else? ah the orientation
Ok, did you mean the cursor orientation or somthig else?
kunal ranePosted Feb 2, 2009, 12:08 AM
Bechir BejaouiPosted Feb 1, 2009, 5:53 PM