LEADTOOLS Annotations (Leadtools.Annotations assembly)

GroupEditObjectPen Property

Show in webframe
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:
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
Copy Code  
Imports Leadtools
Imports Leadtools.Annotations
Imports Leadtools.WinForms
Imports Leadtools.Codecs

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
using Leadtools;
using Leadtools.Annotations;
using Leadtools.WinForms;
using Leadtools.Codecs;

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

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.