![]() If you add the text when the SfImageEditor loaded in a view with image, then you need to call the AddText method in the ImageLoaded event as shown in the following code sample. ![]() ![]() If you add the text when the SfImageEditor loaded in a view without image, then you need to call the AddText method after some time delay. Of course you can use whatever color you like and of course you can change many other. The result will be a code similar to this: With these few lines of code, we have now used the Selected state to change the BackgroundColor to White. The AddText method in the SfImageEditor control is used to add text based on the string value and TextSettings. To select the background color of our selected item, we now need to add the Visual State Manager. Programmatically, the desired text elements also can be added over the image. ![]() Change TextEffect of selected TextĬhanges the effects of the text such as Bold, Italic and Underline. Select the desired text and click on the color palette available in the sub menu. By dragging, the text can be moved to the desired place. To close the pop-up, click CANCEL button. To add the text over the image, Type the desired text and click OK. When the Text icon is tapped, a pop-up will appear. To add text from the toolbar, click on the Text icon in the toolbar. To add the desired text elements over the image, use the following two ways:
0 Comments
Leave a Reply. |