Skip to main content

ImageSource.SvgImage Property

Returns an SVG image.

Namespace: DevExpress.XtraPrinting.Drawing

Assembly: DevExpress.Printing.v24.2.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

[Browsable(false)]
public SvgImage SvgImage { get; }

Property Value

Type Description
SvgImage

An SVG image the ImageSource object stores.

Remarks

The ImageSource object stores either an SVG image or DevExpress.Drawing.DXImage object. When the SvgImage property returns an SVG image, the ImageSource.Image property returns null.

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

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