I am working with the latest demo of Aspose Words (downloaded Friday). I have a good chuck of a project done and I am stuck on one last thing.
I'm creating reports in Word format for a client. The reports are in a columnar format and the columns are a very specific width. I need to be able to measure a string before I add it to see if it will fit and if not, then I can shorten the string until it does. I'm at a loss trying to get a reference to a System.Drawing.Graphics object so I can do the measuring (MeasureString or MeasureCharacterRanges). Everything I can see is getting a Graphics object from an event argument of some kind depending on the project. Is there a way to get the Graphics object in Words? OR, is there a better way to measure a string in Words?
Any help would be appreciated.