Error processing SSI file
LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)

Show in webframe

GroupEditObjectPen Property






Gets or sets the object outline System.Windows.Media.Color used when drawing selected objects in a group for all AnnEditDesigner derived classes.
Syntax
public Color GroupEditObjectPen {get; set;}
'Declaration
 
Public Property GroupEditObjectPen As Color
'Usage
 
Dim instance As AnnAutomationManager
Dim value As Color
 
instance.GroupEditObjectPen = value
 
value = instance.GroupEditObjectPen

            

            
public:
property Color GroupEditObjectPen {
   Color get();
   void set (    Color value);
}

Property Value

The object outline System.Windows.Media.Color used when drawing selected objects in a group for all AnnEditDesigner derived classes.
Remarks
When an AnnGroupObject is displayed with the AnnGroupEditDesigner it is drawn with three pens:
Example

This example changes some properties of the group outline used with the AnnGroupEditDesigner including the following:

Copy Code  
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.Demos;
using Leadtools.Help;

private void AnnAutomationManager_GroupEditObjectPen(AnnAutomationManager manager)
{
   manager.GroupEditFrameBackPen = Colors.Black;
   manager.GroupEditFrameForePen = Colors.White;
   manager.GroupEditObjectPen = Colors.MediumPurple;
}
using Leadtools.Windows.Controls;
using Leadtools.Windows.Annotations;
using Leadtools.Examples;
using Leadtools.Silverlight.Demos;

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

Private Sub AnnAutomationManager_GroupEditObjectPen(ByVal manager As AnnAutomationManager)
   manager.GroupEditFrameBackPen = Colors.Black
   manager.GroupEditFrameForePen = Colors.White
   manager.GroupEditObjectPen = Colors.Magenta
End Sub
Requirements

Target Platforms

See Also

Reference

AnnAutomationManager Class
AnnAutomationManager Members
GroupEditFrameBackPen Property
GroupEditFrameForePen Property

Error processing SSI file
   Leadtools.Windows.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features