共用方式為


ShapeDecorator Constructor (ShapeField, ShapeDecoratorPosition, PointD, Boolean)

Construct a new ShapeDecorator.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
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

.NET Framework Security

See Also

Reference

ShapeDecorator Class

ShapeDecorator Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace