ConnectorDecorator Constructor (ShapeField, ConnectorDecoratorPosition, PointD)
Creates a ConnectorDecorator.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
Public Sub New ( _
field As ShapeField, _
position As ConnectorDecoratorPosition, _
offset As PointD _
)
public ConnectorDecorator(
ShapeField field,
ConnectorDecoratorPosition position,
PointD offset
)
public:
ConnectorDecorator(
ShapeField^ field,
ConnectorDecoratorPosition position,
PointD offset
)
new :
field:ShapeField *
position:ConnectorDecoratorPosition *
offset:PointD -> ConnectorDecorator
public function ConnectorDecorator(
field : ShapeField,
position : ConnectorDecoratorPosition,
offset : PointD
)
Parameters
- field
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
Shape field used by the decorator.
- position
Type: Microsoft.VisualStudio.Modeling.Diagrams.ConnectorDecoratorPosition
Decorator position.
- offset
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.