Re: Is there an easy way to bold text


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Grant Foraker on February 23, 2010 at 11:12:02:

In Reply to: Is there an easy way to bold text posted by Steven Hagen on February 20, 2010 at 15:28:22:

I might approach this like so ...

1) Set the x and y positions
2) Print "YTD Target:"
3) Do a GetTextExtent and add the width of what you just printed to your x variable
4) switch to bold
5) Print the target amount
6) GetTextExtent
7) etc

Would Pop/Push Font help to make the coding easier or the program run faster? Don't know.

If I've got the HTML right it should look like ...

YTD Target: $20,000. Actual Sales: $18,000$18,000 Difference is $2,000

Or, print the titles leaving holes big enough for any value. Switch to bold and print the values.



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]