LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)

GroupEditObjectPen Property

Show in webframe
Example 





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
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

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.