| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: FontMetrics |
the form has textwidth and textheight properties, as does the picturebox. Just assign the font properties then call the textxx properties with the sting of interest. -- Randy Birch MS MVP Visual Basic http://vbnet.mvps.org/ "gilgames" wrote in message news:3N_Rd.1982$DW.652{at}newssvr17.news.prodigy.com... : Is there any equivalent of the FontMetrics method in Visual Basic? I : want to know what is the length and height in terms of pixels of a given : string using a given font and device context (e.g. user screen) --- UseNet To RIME Gateway {at} 2/20/05 1:25:15 PM ---* Origin: MoonDog BBS, Brooklyn,NY, 718 692-2498, 1:278/230 (1:278/230) SEEN-BY: 633/267 270 5030/786 @PATH: 278/230 10/345 106/1 2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.