We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


Thread ID:





77256 Oct 22,2008 08:19 PM UTC Oct 23,2008 10:01 AM UTC WinForms 1
Tags: EditControl
Troy Pascoe
Asked On October 22, 2008 08:19 PM UTC

I have some selected text from editcontrol textbox. I want to delete the first two characters from the start and end of the selected text. So how do I get the: Syncfusion.Windows.Forms.Edit.Utils.CoordinatePoint, or system.drawing.point - for the deleteText method?

Dim Selectedtext As Syncfusion.Windows.Forms.Edit.Utils.ITextRange
Selectedtext = EditControl1.Selection


Vb.net please
Thanks in advance

Fathima Shalini P [Syncfusion]
Replied On October 23, 2008 10:01 AM UTC

Hi Troy,

Thank you for your interest in Syncfusion Products.

Please refer to the below sample that deletes the starting two characters and the last two characters in a selected text:


Please let me know if any concerns.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon