Back to Devexpress

XRWatermark.ImageSource Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrwatermark-65dd0590.md

latest2.1 KB
Original Source

XRWatermark.ImageSource Property

Gets or sets the watermark picture.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
public override ImageSource ImageSource { get; set; }
vb
Public Overrides Property ImageSource As ImageSource

Property Value

TypeDescription
ImageSource

The watermark picture.

|

Remarks

The XRWatermark control supports the following image formats:

  • BMP
  • JPG / JPEG / JPE / JFIF
  • GIF
  • TIF / TIFF
  • PNG
  • ICO
  • DIB
  • RLE
  • EMF / WMF
  • SVG

SVG Support Limitations

The XRWatermark control does not support the following SVG content:

  • Text that uses textPath
  • Animations
  • CSS styles
  • Raster images embedded into an SVG

Transparency is not supported for SVG image watermarks. The XRWatermark.ImageTransparency property’s value is ignored when you set an SVG image as a watermark.

Export (except for PDF) has the following limitations:

  • SVG images are converted to metafiles because document viewers may not support SVG format.

  • SVG images are exported as PNG in the Microsoft Azure environment.

See Also

Display Watermarks in a Report

XRWatermark Class

XRWatermark Members

DevExpress.XtraReports.UI Namespace