CoCreate User Forum  

Go Back   CoCreate User Forum > Old NewsGroup Archive > Archive Forums > Macro

 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 09-19-2002, 05:50 AM
Jean-Marc
Guest
 
Posts: n/a
Underline a text

Hi ! I'm looking for a solution to underline a text (ME10 V.8): I click on a line (Point1), on a second point (point2) where the text will be located and a third point to give the direction of the text. After I want to trace a leader_arrow line beneath the text and finishing on the point1. The problem is to find the length of the text. I try to find something with the INQ_ENV or INQ_ELEM syntax but I found nothing. I tried to find the width of a letter: INQ_ENV 9 Width_letter (INQ 4) but it doesn't work. The results are surprising ! Help would be welcome. Thanks Jean-Marc, France
  #2  
Old 09-19-2002, 07:29 PM
Walter Geppert
Guest
 
Posts: n/a
re: Underline a text

This is the way i did it: INIT_SUBPART 'XXX' TEXT Mytext P1 INQ_ENV 7 LET Textlenght (ABS((X_OF (INQ 101))-(X_OF (INQ 102)))) END_PART SMASH_SUBPART 'XXX' Hope this helps. Greetings from Vienna, Walter
  #3  
Old 09-22-2002, 09:31 PM
Darren
Guest
 
Posts: n/a
re: Underline a text

There are several ways of doing this but the most elegant way is to add a "_" in the font definition. That way all your texts are linked to the underlining! Of course, you may have problems with anyone who doesn't have your fonts - but that's another story. (They could use FONT_CHECK.)
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -8. The time now is 12:59 PM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.