Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 2005 > Pro Visual Basic 2005
|
Pro Visual Basic 2005 For advanced Visual Basic coders working in version 2005. Beginning-level questions will be redirected to other forums, including Beginning VB 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro Visual Basic 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 3rd, 2008, 01:31 AM
Registered User
 
Join Date: Apr 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Using Postscript fonts in treeview?

Hi,


Have a treeview control and can change the selected node to a (system installed truetype) font like this


Code:
                trvFonts.SelectedNode.NodeFont = New System.Drawing.Font("Times", intNodeFontSize)
                'FOLLOWING REQUIRED FOR BUG (LARGER TEXT IN NODE WILL CROP WITHOUT THIS)
                trvFonts.SelectedNode.Text &= String.Empty



Is there any way (anyone know of a way) that i can use a postcript font (pfb/pfm) from a file (not installed), or even an installed postcript font to use in my treeview or any windows forms control?

Thanks for anyhelp with this

Regards






Similar Threads
Thread Thread Starter Forum Replies Last Post
Wordml fonts johnlaw83 XSLT 1 June 19th, 2007 09:39 AM
Word has no Fonts BrianWren Word VBA 1 September 8th, 2006 12:33 PM
Iterating Fonts Ron Howerton Visual Basic 2005 Basics 9 May 31st, 2006 07:15 PM
Split PostScript file / Print PS to PS saebe Pro VB 6 1 February 27th, 2006 11:02 AM
Printing to File in VB (Adobe Postscript Driver) SheckJuarez VB How-To 1 July 16th, 2004 12:56 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.