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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Bechir BejaouiRank #144 · 15.9K reputationPosted Feb 1, 2009, 12:53 PM EST
kunal rane5 reputationPosted Feb 1, 2009, 7:08 PM EST
Bechir BejaouiRank #144 · 15.9K reputationPosted Feb 10, 2009, 12:07 AM EST
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
public static string Indent(int count) { return "".PadLeft(count); }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 rane5 reputationPosted Feb 11, 2009, 3:19 AM EST
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 BejaouiRank #144 · 15.9K reputationPosted Feb 12, 2009, 12:10 AM EST