BinaryLinkShapeBase.SetDecorators 方法 (LinkDecorator, SizeD, LinkDecorator, SizeD, Boolean)

设置连接的修饰器。

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

语法

声明
Protected Sub SetDecorators ( _
    newFromDecorator As LinkDecorator, _
    newFromDecoratorSize As SizeD, _
    newToDecorator As LinkDecorator, _
    newToDecoratorSize As SizeD, _
    invalidate As Boolean _
)
protected void SetDecorators(
    LinkDecorator newFromDecorator,
    SizeD newFromDecoratorSize,
    LinkDecorator newToDecorator,
    SizeD newToDecoratorSize,
    bool invalidate
)

参数

  • invalidate
    类型:System.Boolean
    诸如连接及其直属周围。

.NET Framework 安全性

请参见

参考

BinaryLinkShapeBase 类

SetDecorators 重载

Microsoft.VisualStudio.Modeling.Diagrams 命名空间

DecoratorFrom

DecoratorTo