Making a custom textbox Word wrap script in C#
$8-15 USD / hour
We are looking for a C# developer who can make the following script.
We want to have a custom word wrap solution developed in C#. A developer tried it with the below script by adding with max number of characters, but that script is cutting words.
public static string ManipulateString(int length, string data)
{
var i = 0;
var k = 0;
foreach (var c in data)
{
if (i == length)
{
data = [url removed, login to view](k, "");
i = 0;
}
i++;
k++;
}
return data;
}
Project ID: #4511842
About the project
Awarded to:
18 freelancers are bidding on average $15/hour for this job
I am an expert C# developer. do you a custom control for desktop or web application. Could you send me a screenshot of your issue? Please visit my profile.
Hello... I can do this.. My approach will be: Divide input data intro substring having length equal to input length and then join each string with a "\n". M i sounding clear. I think you want this only
Hi, I am a .Net and SQL Server Programmer having more than 8 years of experience in MS technologies. I will be able to do as per your requirement. Looking forward to work with you. Thanks.
Hi, I'm a freelancer from India. I can do this in few hours. I've more than 4 yrs experience in .net with C# and VB. I can assure you that you will be 100% satisfied with my work. Looking forward to hear from you. Than More
The posted code does not have adequate inputs. I can provide a solution that works for text of any font and size. A limitation of implementing a custom word wrap is that resizing the textbox or editing the text will ma More
Please let me get the detail of your project. I have 5 years of experience of visual C#. Have a nice day.
I can do this project quickly if my assumptions are correct. This seems to be for a console application where the width of the container is known to be a certain number of characters. If this is not the case, I c More
has solved similar type of string operation previously. the script posted here needs little bit of modification