Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Construct a new ShapeDecorator.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Sub New ( _
field As ShapeField, _
position As ShapeDecoratorPosition, _
offset As PointD, _
canMove As Boolean _
)
public ShapeDecorator(
ShapeField field,
ShapeDecoratorPosition position,
PointD offset,
bool canMove
)
public:
ShapeDecorator(
ShapeField^ field,
ShapeDecoratorPosition position,
PointD offset,
bool canMove
)
new :
field:ShapeField *
position:ShapeDecoratorPosition *
offset:PointD *
canMove:bool -> ShapeDecorator
public function ShapeDecorator(
field : ShapeField,
position : ShapeDecoratorPosition,
offset : PointD,
canMove : boolean
)
Parameters
field
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeFieldShapeField used by the decorator.
position
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecoratorPositionDecorator position.
offset
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointDOffset used to modify the default position of the decorator specified by position.
canMove
Type: 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.