Gets or sets the object outline
Pen used when drawing selected objects in a group for all
AnnEditDesigner derived classes.
Syntax
Visual Basic (Declaration) | |
---|
Public Property GroupEditObjectPen As Pen |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As AnnAutomationManager
Dim value As Pen
instance.GroupEditObjectPen = value
value = instance.GroupEditObjectPen
|
C# | |
---|
public Pen GroupEditObjectPen {get; set;} |
C++/CLI | |
---|
public:
property Pen GroupEditObjectPen {
Pen get();
void set (Pen value);
} |
XAML Syntax | |
---|
For XAML information, see the System.Windows.Media.Pen type. |
XAML Property Element Usage | |
---|
<object>
<object.GroupEditObjectPen>
<Pen .../>
</object.GroupEditObjectPen>
</object> |
XAML Syntax | |
---|
For XAML information, see the System.Windows.Media.Pen type. |
XAML Property Element Usage | |
---|
<object>
<object.GroupEditObjectPen>
<Pen .../>
</object.GroupEditObjectPen>
</object> |
Return Value
The object outline
Pen used when drawing selected objects in a group for all
AnnEditDesigner derived classes.
Example
This example changes some properties of the group outline used with the AnnGroupEditDesigner including the following:
- the Outline forecolor to white
- the Outline backcolor to black
- the Pen used to outline selected objects to purple
Visual Basic | Copy Code |
---|
Private Sub AnnAutomationManager_GroupEditObjectPen(ByVal manager As AnnAutomationManager)
Dim back As Pen = manager.GroupEditFrameBackPen
Dim fore As Pen = manager.GroupEditFrameForePen
manager.GroupEditFrameBackPen = New Pen(Brushes.Black, 3)
manager.GroupEditFrameForePen = New Pen(Brushes.White, 3)
manager.GroupEditFrameForePen.DashStyle = DashStyles.Dot
manager.GroupEditObjectPen = New Pen(Brushes.MediumPurple, 4)
End Sub |
C# | Copy Code |
---|
private void AnnAutomationManager_GroupEditObjectPen(AnnAutomationManager manager) { Pen back = manager.GroupEditFrameBackPen; Pen fore = manager.GroupEditFrameForePen; manager.GroupEditFrameBackPen = new Pen(Brushes.Black, 3); manager.GroupEditFrameForePen = new Pen(Brushes.White, 3); manager.GroupEditFrameForePen.DashStyle = DashStyles.Dot; manager.GroupEditObjectPen = new Pen(Brushes.MediumPurple, 4); } |
Remarks
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family
See Also