Hello Nayyer,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
The function is now obsolete? That is a pity...
Could you tell me why?
Is there another solution to determine the textwidth?
My program is a C# program and to create a printout I use Aspose PDF. The document contains a lot of table-like pages, but each with a variable number of lines and different page layout.
I tried to format the document with tables, but generating a printout based on TABs appeared to be much faster. The only disadvantage of TABs is that long strings will pass TAB positions. To solve this problem I created a function that splits the string into smaller strings and if there a multiple substrings the output continues on the next line at the right TAB position. But to be able to split the string at the right position I need to be able to determine the width of each substring. That’s why I would appreciate the GetLength() function…
Could you please consider to make this function available again?