Announcement

Collapse

A friendly reminder...

Please be sure that you are familiar with the forum rules and guidelines. These are in place to try to maintain a place that we all want to come back to. One specifically I would like to mention is keeping threads on topic. As much as is possible, please do not be afraid to start a new thread if you have a question that shifts even just a little bit in meaning. This will help users searching for solutions, and this will also help a conversation not become confusing to follow.
See more
See less

The length of a text string in pixels?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • The length of a text string in pixels?


    I imagine that there is a function either in PB or in Windows to get the length of a text string expressed in pixels when the text has a certain size and a certain font.
    Is there?
    /Fim W.
    Fim Wästberg

  • #2
    GRAPHIC TEXT SIZE txt$ TO WidthVar!, HeightVar! after setting the font with FONT NEW and GRAPHIC SET FONT. There is also GRAPHIC CHR SIZE and GRAPHIC CELL SIZE.
    Rod
    I want not 'not', not Knot, not Knott, not Nott, not knot, not naught, not nought, but aught.

    Comment


    • #3
      Thanks!!
      That's exactly what I was looking for.

      /Fim W.



      Fim Wästberg

      Comment

      Working...
      X