Why does the documentation and sample code omit all information concerning the units that are used for various properties? The help file is useless as far as units are concerned. The samples assign numbers to properties but never note what the unit is. Here are some examples:
textPattern.Indents.First = 50 ' 50 what? points? hundredths of an inch?
textPattern.Interval = 2 ' 2 what? 2 lines?
textPattern.Paddings.All = 10 ' Need I say more? 10 what?
What are we supposed to do, print the sample and measure the spacing to figure out what the unit is for the numeric value assigned to the property? Doing that does not appear to be using points consistently, so some help here please?
I'm not sure about Interval, but in general, the Documents engine uses Points for everything.
Mike, Perhaps you can convince the guys who write the help that it would be beneficial to users if they would only include units in the text. Yes, in general, I was able to surmise that points is the typical unit, but obviously there is really very little way to confirm exactly what the unit is since the help file remains silent on this topic.
I have logged this issue with our developers in our tracking system, with an issue ID of 35934. This documentation issue will be assigned to a developer to research for a resolution.
You can view the status of all development issues connected to this case from the "Development Issues" tab, when viewing this case on the "My Support Requests" page of our website.
Michael S.