LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

GroupEditObjectPen Property

Example 





Gets or sets the object outline AnnPen used when drawing selected objects in a group for all AnnEditDesigner derived classes.
Syntax
public AnnPen GroupEditObjectPen {get; set;}
'Declaration
 
Public Property GroupEditObjectPen As AnnPen
'Usage
 
Dim instance As AnnAutomationManager
Dim value As AnnPen
 
instance.GroupEditObjectPen = value
 
value = instance.GroupEditObjectPen
public AnnPen GroupEditObjectPen {get; set;}
 get_GroupEditObjectPen();
set_GroupEditObjectPen(value);
public:
property AnnPen^ GroupEditObjectPen {
   AnnPen^ get();
   void set (    AnnPen^ value);
}

Property Value

The object outline AnnPen used when drawing selected objects in a group for all AnnEditDesigner derived classes.
Remarks
When an AnnGroupObject is displayed with the AnnNewGroupEditDesigner it is drawn with three pens: For more information, refer to New Annotation Features of Version 14.5.
Example
 
Public Sub AnnAutomationManager_GroupEditObjectPen(ByVal manager As AnnAutomationManager)
   Dim back As AnnPen = manager.GroupEditFrameBackPen
   Dim fore As AnnPen = manager.GroupEditFrameForePen
   manager.GroupEditFrameBackPen = New AnnPen(System.Drawing.Color.Black, New AnnLength(3, AnnUnit.Pixel))
   manager.GroupEditFrameForePen = New AnnPen(System.Drawing.Color.White, New AnnLength(3, AnnUnit.Pixel))
   manager.GroupEditFrameForePen.DashStyle = System.Drawing.Drawing2D.DashStyle.Dot
   manager.GroupEditObjectPen = New AnnPen(System.Drawing.Color.MediumPurple, New AnnLength(4, AnnUnit.Pixel))
End Sub
public void AnnAutomationManager_GroupEditObjectPen(AnnAutomationManager manager)
{
   AnnPen back= manager.GroupEditFrameBackPen;
   AnnPen fore = manager.GroupEditFrameForePen;
   manager.GroupEditFrameBackPen = new AnnPen(System.Drawing.Color.Black, new AnnLength(3, AnnUnit.Pixel));
   manager.GroupEditFrameForePen = new AnnPen(System.Drawing.Color.White, new AnnLength(3, AnnUnit.Pixel));
   manager.GroupEditFrameForePen.DashStyle = System.Drawing.Drawing2D.DashStyle.Dot;
   manager.GroupEditObjectPen = new AnnPen(System.Drawing.Color.MediumPurple, new AnnLength(4, AnnUnit.Pixel));
}
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.