SvgDocument Property (original) (raw)
Summary
SVG document associated with this item.
Syntax
Property Value
The SVG document object associated with this item. Default value is null.
Example
using Leadtools;
using Leadtools.Controls;
using Leadtools.Codecs;
using Leadtools.Drawing;
using Leadtools.ImageProcessing;
using Leadtools.ImageProcessing.Color;
using Leadtools.Svg;
ImageViewerItem item = _imageViewer.GetLargestVisibleItem(ImageViewerItemPart.Content);
if (item != null)
{
var image = item.Image.Clone();
new InvertCommand().Run(image);
item.Image = image;
}