Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.5.2
|
Leadtools.Annotations Namespace > AnnAutomationManager Class : GroupEditObjectPen Property |
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
This example changes some properties of the group outline used with the AnnNewGroupEditDesigner including the following:
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)); }