Click here to Skip to main content
15,900,572 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionOverlay Text to fit on Any Image Pin
Member 39257262-Feb-10 4:32
Member 39257262-Feb-10 4:32 
AnswerRe: Overlay Text to fit on Any Image Pin
Eddy Vluggen2-Feb-10 4:42
professionalEddy Vluggen2-Feb-10 4:42 
GeneralRe: Overlay Text to fit on Any Image Pin
Member 39257262-Feb-10 5:23
Member 39257262-Feb-10 5:23 
AnswerRe: Overlay Text to fit on Any Image Pin
Luc Pattyn2-Feb-10 4:48
sitebuilderLuc Pattyn2-Feb-10 4:48 
AnswerRe: Overlay Text to fit on Any Image Pin
dan!sh 2-Feb-10 4:52
professional dan!sh 2-Feb-10 4:52 
QuestionOverlay Text To Fit on Any Image Pin
Member 39257262-Feb-10 3:03
Member 39257262-Feb-10 3:03 
AnswerRe: Overlay Text To Fit on Any Image Pin
Richard MacCutchan2-Feb-10 3:26
mveRichard MacCutchan2-Feb-10 3:26 
AnswerRe: Overlay Text To Fit on Any Image Pin
dan!sh 2-Feb-10 3:58
professional dan!sh 2-Feb-10 3:58 
In order to "fit" a string in any image, you would adjust the font size of it rather that adding or removing characters. Isn't it?

You can make use of Graphics.MeasureString method and get the width of the string that would be written. Then adjust font appropriately so that text "fits" in the image.

"No matter how many fish in the sea; it will be so empty without me." - From song "Without me" by Eminem

QuestionDocument production from templates Pin
James Bailey2-Feb-10 1:54
James Bailey2-Feb-10 1:54 
AnswerRe: Document production from templates Pin
Richard MacCutchan2-Feb-10 2:22
mveRichard MacCutchan2-Feb-10 2:22 
AnswerRe: Document production from templates Pin
Pete O'Hanlon2-Feb-10 2:32
mvePete O'Hanlon2-Feb-10 2:32 
QuestionWhat Relative Virtual Addressing is ? Pin
glitteringsound1-Feb-10 20:51
glitteringsound1-Feb-10 20:51 
AnswerRe: What Relative Virtual Addressing is ? Pin
Richard MacCutchan1-Feb-10 23:25
mveRichard MacCutchan1-Feb-10 23:25 
GeneralRe: What Relative Virtual Addressing is ? Pin
glitteringsound2-Feb-10 3:26
glitteringsound2-Feb-10 3:26 
AnswerRe: What Relative Virtual Addressing is ? Pin
Duncan Edwards Jones2-Feb-10 2:37
professionalDuncan Edwards Jones2-Feb-10 2:37 
Questionerror in deleting from database using bindingnavigator Pin
tasnim ahmed1-Feb-10 6:44
tasnim ahmed1-Feb-10 6:44 
AnswerRe: error in deleting from database using bindingnavigator Pin
Eddy Vluggen3-Feb-10 0:40
professionalEddy Vluggen3-Feb-10 0:40 
GeneralRe: error in deleting from database using bindingnavigator Pin
tasnim ahmed3-Feb-10 2:29
tasnim ahmed3-Feb-10 2:29 
Questionfix gridview header Pin
anilaabc31-Jan-10 21:11
anilaabc31-Jan-10 21:11 
Question.net app not running on european computer Pin
murktinez30-Jan-10 6:35
murktinez30-Jan-10 6:35 
AnswerRe: .net app not running on european computer Pin
Luc Pattyn30-Jan-10 6:44
sitebuilderLuc Pattyn30-Jan-10 6:44 
AnswerRe: .net app not running on european computer Pin
Abhinav S1-Feb-10 22:40
Abhinav S1-Feb-10 22:40 
Questionsql database Pin
Milind Panchal29-Jan-10 5:59
Milind Panchal29-Jan-10 5:59 
AnswerRe: sql database Pin
Ciumac Sergiu31-Jan-10 3:51
Ciumac Sergiu31-Jan-10 3:51 
QuestionHow to initialize parameters to call COM object method via <var>.GetType().InvokeMember(..,parameters,.) ?</var> Pin
Juraj Joob29-Jan-10 1:30
Juraj Joob29-Jan-10 1:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.