Unplanned
Last Updated: 31 Oct 2018 07:53 by ADMIN
ADMIN
Tanya
Created on: 19 Jun 2015 12:45
Category: RichTextBox
Type: Bug Report
2
RichTextBox: The height of the watermark image is not respected when set through WatermarkImageSettings.Size
When image watermark is set and its height is configured through DocumentWatermarkSettings.ImageSettings.Size.Height, the height is not respected.

Steps to reproduce:
1. Insert a Watermark with size
           var watermarkSettings = new DocumentWatermarkSettings()
            {
                Type = WatermarkType.ImageWatermark,
                ImageSettings = new WatermarkImageSettings()
                {
                    UriSource = new Uri("c:\1.jpg"),
                    Size = new Size(200, 300)
                }
            };

Expected: The image is with the specified width and height.
Actual: The height is different.
0 comments