This property enables support for multiple drawings within the ImageKit control.

[Visual Basic]Public Property DrawingGroup As System.Windows.Media.DrawingGroup
[C#]public System.Windows.Media.DrawingGroup DrawingGroup {get; set;}

Property Value

Values are of type System.Windows.Media.DrawingGroup

Explanation

This property enables the use of the System.Windows.Media.DrawingGroup providing support for multiple drawings within the ImageKit control.

Example:

[Visual C#.NET]

SolidColorBrush brush = new SolidColorBrush(Colors.Red);
Pen pen = new Pen(brush, 1);
EllipseGeometry ellipsegeometry = new EllipseGeometry(new Point(100.0, 100.0), 10.0, 10.0);
GeometryDrawing geometrydrawing = new GeometryDrawing(brush, pen, ellipsegeometry);
imageKit1.DrawingGroup.Children.Add(geometrydrawing);

See Also

ImageKit Members | Newtone.ImageKit.Wpf.ImageKit

The ImageKit WPF is created by Newtone Corporation