LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)
LEAD Technologies, Inc

GroupEditObjectPen Property

Example 





Gets or sets the object outline System.Windows.Media.Color used when drawing selected objects in a group for all AnnEditDesigner derived classes. .NET support Silverlight support
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 Color GroupEditObjectPen {get; set;}
 get_GroupEditObjectPen();
set_GroupEditObjectPen(value);
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 CodeCopy Code  
Private Sub AnnAutomationManager_GroupEditObjectPen(ByVal manager As AnnAutomationManager)
   manager.GroupEditFrameBackPen = Colors.Black
   manager.GroupEditFrameForePen = Colors.White
   manager.GroupEditObjectPen = Colors.MediumPurple
End Sub
private void AnnAutomationManager_GroupEditObjectPen(AnnAutomationManager manager)
{
   manager.GroupEditFrameBackPen = Colors.Black;
   manager.GroupEditFrameForePen = Colors.White;
   manager.GroupEditObjectPen = Colors.MediumPurple;
}
private void AnnAutomationManager_GroupEditObjectPen(AnnAutomationManager manager)
{
   manager.GroupEditFrameBackPen = Colors.Black;
   manager.GroupEditFrameForePen = Colors.White;
   manager.GroupEditObjectPen = Colors.Magenta;
}
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnAutomationManager Class
AnnAutomationManager Members
GroupEditFrameBackPen Property
GroupEditFrameForePen Property

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.