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
Solved

Change font size of textbox dynamically?

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

808 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