Gets or sets the object outline System.Windows.Media.Color used when drawing selected objects in a group for all AnnEditDesigner derived classes.
public Color GroupEditObjectPen { get; set; }
Public Property GroupEditObjectPen As Color
The object outline System.Windows.Media.Color used when drawing selected objects in a group for all AnnEditDesigner derived classes.
When an AnnGroupObject is displayed with the AnnGroupEditDesigner it is drawn with three pens:
This example changes some properties of the group outline used with the AnnGroupEditDesigner including the following:
using Leadtools.Windows.Controls;
using Leadtools.Windows.Annotations;
using Leadtools.Demos;
using Leadtools.Help;
private void AnnAutomationManager_GroupEditObjectPen(AnnAutomationManager manager)
{
manager.GroupEditFrameBackPen = Colors.Black;
manager.GroupEditFrameForePen = Colors.White;
manager.GroupEditObjectPen = Colors.MediumPurple;
}
Imports Leadtools.Windows.Controls
Imports Leadtools.Windows.Annotations
Private Sub AnnAutomationManager_GroupEditObjectPen(ByVal manager As AnnAutomationManager)
manager.GroupEditFrameBackPen = Colors.Black
manager.GroupEditFrameForePen = Colors.White
manager.GroupEditObjectPen = Colors.MediumPurple
End Sub
using Leadtools.Windows.Controls;
using Leadtools.Windows.Annotations;
using Leadtools.Examples;
using Leadtools.Silverlight.Demos;
//using Leadtools.Help;
private void AnnAutomationManager_GroupEditObjectPen(AnnAutomationManager manager)
{
manager.GroupEditFrameBackPen = Colors.Black;
manager.GroupEditFrameForePen = Colors.White;
manager.GroupEditObjectPen = Colors.Magenta;
}
Imports Leadtools.Windows.Controls
Imports Leadtools.Windows.Annotations
Imports Leadtools.Silverlight.Demos
'using Leadtools.Help;
Private Sub AnnAutomationManager_GroupEditObjectPen(ByVal manager As AnnAutomationManager)
manager.GroupEditFrameBackPen = Colors.Black
manager.GroupEditFrameForePen = Colors.White
manager.GroupEditObjectPen = Colors.Magenta
End Sub
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET