Completed
Last Updated: 24 Aug 2021 14:13 by ADMIN
Release LIB 2021.2.830 (30 Aug 2021)
Kamran
Created on: 16 Aug 2021 10:14
Category: RichTextBox
Type: Feature Request
1
RadRichTextBox: Watermark position is not correct when using multiline text
Watermark position is not correct when using multiline text
2 comments
ADMIN
Dimitar
Posted on: 17 Aug 2021 09:04

Hi Kamran,

Thanks for the details. Please note that we store the information from the tickets internally as well (in case there is something private that should not be shared). 

Regards,
Dimitar
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Kamran
Posted on: 17 Aug 2021 06:12

Adding multiline text watermark is not center align. 

Following example for reference and behavior is shown in attached screenshot.

 

WatermarkTextSettings textSettings = new WatermarkTextSettings();
 textSettings.Text =
@$"USER FULL NAME HERE
Designation Details
Current Organization
{DateTime.Now:MMMM dd\,yyyy HH:mm}";

            textSettings.RotateAngle = -45;
            textSettings.Opacity = .5;
            textSettings.ForegroundColor = Colors.Gray;
            textSettings.FontSize = 48;
            textSettings.FontFamily = new FontFamily("Bahnschrift");
           
            this.editor.SetWatermarkText(textSettings);
Attached Files: