The Capacity() method for the string buffer works as follows... The default length of a String buffer object is 16 initially. When we initialize this object with a string let be it like "Paki" then when u go & try out the length of this Buffer object u ll get 4 but when u go & try to find out the capacity()...it will return 16... In other words its a tring with no limitation or boundaries
Don't wanna invent the wheel again!!
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com