Gets or sets the object outline AnnPen used when drawing selected objects in a group for all AnnEditDesigner derived classes.
public AnnPen GroupEditObjectPen { get; set; } Public Property GroupEditObjectPen As Leadtools.Annotations.AnnPen
public:property Leadtools.Annotations.AnnPen^ GroupEditObjectPen {Leadtools.Annotations.AnnPen^ get();void set ( Leadtools.Annotations.AnnPen^ );}
The object outline AnnPen used when drawing selected objects in a group for all AnnEditDesigner derived classes.
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 (Deprecated).
This example changes some properties of the group outline used with the AnnNewGroupEditDesigner including the following:
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));}
Imports LeadtoolsImports Leadtools.AnnotationsImports Leadtools.WinFormsImports Leadtools.CodecsPublic Sub AnnAutomationManager_GroupEditObjectPen(ByVal manager As AnnAutomationManager)Dim back As AnnPen = manager.GroupEditFrameBackPenDim fore As AnnPen = manager.GroupEditFrameForePenmanager.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.Dotmanager.GroupEditObjectPen = New AnnPen(System.Drawing.Color.MediumPurple, New AnnLength(4, AnnUnit.Pixel))End Sub
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
