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. Image for the cookie policy date

Search a document and get the horizontal alignment of the text selection found

I am using the following code to find a piece of text in a document
Dim xPattern As New Regex("~i:" & fieldIds(col) & ":[0-9]{1,3}~", RegexOptions.IgnoreCase)
Dim textSel As TextSelection = document.Find(xPattern)
Is there anyway to find out the horizontal alignment of the text found in the document using the statement above? I don't see a property for the textSel TextSelection object that will help.
Is there a better way to do this?

1 Reply

SR Suganya Rathinam Syncfusion Team February 22, 2016 06:31 AM UTC

Hi Todd,

Thank you for contacting Syncfusion support.

You have requested the same query in the support incident created under your account and we have provided the solution for your requirement in the incident. Kindly follow the incident to get the solution for finding the horizontal alignment text in the document.


Live Chat Icon For mobile
Up arrow icon