Tom

Sydney, Australia

Apr
15
accepted Graphics DrawString() clipping text off while rectangle still have more room
Apr
15
comment Graphics DrawString() clipping text off while rectangle still have more room
You saved my day! Trimming = StringTrimming.None works! Thank you. Point of interest is language code 1003. There is not much documentation on MSDN about what it is used for. msdn.microsoft.com/en-us/library/453y15h2(v=vs.110).aspx
Apr
15
revised Graphics DrawString() clipping text off while rectangle still have more room
added 11 characters in body
Apr
15
revised Graphics DrawString() clipping text off while rectangle still have more room
added 11 characters in body
Apr
15
comment Graphics DrawString() clipping text off while rectangle still have more room
It is user drawing input from somewhere. I can't simply change from 60px to 62px for the user.
Apr
15
revised Graphics DrawString() clipping text off while rectangle still have more room
added 11 characters in body
Apr
15
revised Graphics DrawString() clipping text off while rectangle still have more room
edited body
Apr
15
asked Graphics DrawString() clipping text off while rectangle still have more room
Apr
14
awarded Caucus
Apr
13
awarded Yearling
Apr
13
awarded Notable Question
Apr
7
comment how to validate credit card number
BUG: var iCCN = parseInt(ccNumb); what if ccNumb is a card no with space? your strip spaces came after this line. Should be other way around. Further more, var len = ccNumb.length; then you if(len >= 15){... it will fail, you dont know if ccNumb has spaces...Finally, looking at line 11 to line 35, bNum and bResult did nothing in between these lines...I have to down vote this piece of code...
Apr
6
awarded Great Question
Apr
1
accepted Linq.js Enumerable.from()
Mar
24
awarded Popular Question
Mar
24
comment Algorithm to generate non word keys
Please don't spam comment that are useless or not related to question
Mar
24
revised Algorithm to generate non word keys
edited tags
Mar
24
revised Algorithm to generate non word keys
added 27 characters in body
Mar
24
comment Algorithm to generate non word keys
@Andrew, as I mentioned, 4-6 chars case-insenstive base36 is the requirement of being 'friendly and memorable' in this case.
Mar
24
asked Algorithm to generate non word keys
1 2 3 4 5