?
Solved

Change font size of textbox dynamically?

Posted on 2006-06-16
2
Medium Priority
?
754 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 28

Accepted Solution

by:
iboutchkine earned 500 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses
Course of the Month8 days, 15 hours left to enroll

764 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