ConnectorDecorator Constructor (ShapeField, ConnectorDecoratorPosition, PointD, Boolean)
Creates a ConnectorDecorator.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Sub New ( _
field As ShapeField, _
position As ConnectorDecoratorPosition, _
offset As PointD, _
canMove As Boolean _
)
public ConnectorDecorator(
ShapeField field,
ConnectorDecoratorPosition position,
PointD offset,
bool canMove
)
public:
ConnectorDecorator(
ShapeField^ field,
ConnectorDecoratorPosition position,
PointD offset,
bool canMove
)
new :
field:ShapeField *
position:ConnectorDecoratorPosition *
offset:PointD *
canMove:bool -> ConnectorDecorator
public function ConnectorDecorator(
field : ShapeField,
position : ConnectorDecoratorPosition,
offset : PointD,
canMove : boolean
)
Parameters
field
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeFieldShape field used by the decorator.
position
Type: Microsoft.VisualStudio.Modeling.Diagrams.ConnectorDecoratorPositionDecorator position.
- offset
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
canMove
Type: System.BooleanWhether this decorator can be moved.
.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.