Solved

Change font size of textbox dynamically?

Posted on 2006-06-16
2
746 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
This video discusses moving either the default database or any database to a new volume.
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…

746 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now