Solved

Change font size of textbox dynamically?

Posted on 2006-06-16
2
750 Views
Last Modified: 2013-12-03
I have a VB.Net application that does label printing.  I can create template for different label sizes, but is there a way to have an option so that the user can select what font sizes they want to print it in?  I do not want to create over 10-20 different label templates for each user just because of the label size and font size that they need to do their label printing.  Not sure if it's possible to have a font size control applied to that specific textbox, but if anyone can help that would be great.
0
Comment
Question by:holemania
2 Comments
 
LVL 28

Accepted Solution

by:
iboutchkine earned 125 total points
ID: 16919996
lblName.Font = New Font("Arial", 8.25, FontStyle.Bold, GraphicsUnit.Point,0)
0
 

Author Comment

by:holemania
ID: 16920469
Awesome.  That was easy.  Got it to work now.  
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question