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

Inserting text

Thread ID:

Created:

Updated:

Platform:

Replies:

121116 Nov 11,2015 06:15 PM UTC Mar 14,2019 05:23 PM UTC UWP 6
loading
Tags: SfPdfViewer
Daniel Manchester
Asked On November 11, 2015 06:15 PM UTC

I have a  button on the ribbon that I want to use to insert some predefined text at the cursor position how would I do that?

Thanks

Daniel

Arumuga Perumal S [Syncfusion]
Replied On November 12, 2015 05:10 AM UTC

Hi Daniel,

Thank you for contacting Syncfusion support.

Our SfRichTextBoxAdv provides API support to insert text at the current selection position. The following code sample illustrates how to insert predefined text at current cursor position.


Xaml

<RichTextBoxAdv:SfRichTextBoxAdv x:Name="richTextBoxAdv" xmlns:RichTextBoxAdv="using:Syncfusion.UI.Xaml.RichTextBoxAdv" />


C#

richTextBoxAdv.Selection.InsertText("Hello world");


We have also attached the sample to demonstrate the same. Please find the sample from following location. Try running the sample and let us know if this helps you.


Sample Link
Sample

Regards,
Arumuga Perumal S.


Daniel Manchester
Replied On November 13, 2015 12:22 AM UTC

That worked great.  Thanks!

Narendran Srinivasan [Syncfusion]
Replied On November 13, 2015 06:48 AM UTC

Hi Daniel,

Thank you for your update,

We are happy to hear that the provided sample meets your requirement. Please let us know if you require any further assistance. We will be happy to assist you.

Regards,
Narendran


zhangjinyan
Replied On February 19, 2019 07:49 AM UTC

Hi Daniel,

Thank you for your update,

We are happy to hear that the provided sample meets your requirement. Please let us know if you require any further assistance. We will be happy to assist you.

Regards,
Narendran


How to insert text in SfPdfViewerControl?

Sathish Sivakumar [Syncfusion]
Replied On February 19, 2019 01:29 PM UTC

Hi Zhangjinyan, 
 
We are currently working on implementing the feature “Free text annotation in PDF Viewer in UWP” and this is available in our 2019 Vol 1 which is expected to be available in March 2019 tentatively. 
 
Regards, 
Sathish 


Gayathri Ramalingam [Syncfusion]
Replied On March 14, 2019 05:23 PM UTC

Hi Zhangjinyan, 
We are glad to inform you that the feature “Add and modify free text annotation” has been implemented and included in our Essential Studio 2019 Volume 1 beta release v17.1.0.32 and is available for download under the following link.  
 
 
Please refer the API details in the document attached in the below link: 
 
 
Sample link: 
 
 
Regards, 
Gayathri R 


CONFIRMATION

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

;