Solved

Change font size of textbox dynamically?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
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…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

939 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

6 Experts available now in Live!

Get 1:1 Help Now