I don't see why Mark's suggestion doesn't work for you. You seem to be
under the impression that the text must exist for it to work, not so. I
mean you know the text height, text style, width factor, text value and
width factor, right? Most of those things are stored in the text style.
-Jason
"Paul" wrote in message
news:F66D164ECD23A99B1FA8CDEE184B5E47@in.WebX.maYIadrTaRb...
> Something like that. But my idea of fun is different (other hobbies or
> drink some beer)
> any other ideas???
>
> Doug Barr schreef in berichtnieuws
> 3B86ADDD723C4DB812122F4D1A8DBC24@in.WebX.maYIadrTaRb...
> > Sounds like you need to measure each and every letter, U/Lcase, and if
> you're
> > lucky, differences from font to font will be proportional. Then a
routine
> could
> > be written that predicts overall length of a string of certain font,
> height,
> > rotation, etc. Could be fun.
> > -doug
> >
> > "Paul" wrote in message
> > news:985A4A54C1956AED308A805829048D29@in.WebX.maYIadrTaRb...
> > > I know that they all have different width, therfore i need a way to
> > > calculate the total width.
> > >
> > > David Bethel schreef in berichtnieuws
> > > 94A2E30B7B9949F78350E38448AB732E@in.WebX.maYIadrTaRb...
> > > > Paul,
> > > >
> > > > If you use a monospaced font that you know the spacing, you can be
> fairly
> > > > accurate using the technique Mark suggested. However, in a
> proportional
> > > > spaced font, letters vary in width with each character. "W" is
wider
> than
> > > > "H" which is wider than "I".
> > > >
> > > > They do tend to average out. It all depends on how accurate you
need
> to
> > > > e. -David
> > > >
> > > >
> > > > "Paul" wrote in message
> > > > news:68EB715F22A2428FB35DBFBE9B11F8D5@in.WebX.maYIadrTaRb...
> > > > > How can i determine (calculate) how much space a string is gonna
> take up
> > > > as
> > > > > text in a drawing?
> > > > > So i mean before it is text.
> > > > >
> > > > > Regards,
> > > > >
> > > > > Paul
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>