设置连接线的修饰器。
命名空间: Microsoft.VisualStudio.Modeling.Diagrams
程序集: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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
)
参数
- newFromDecorator
类型:Microsoft.VisualStudio.Modeling.Diagrams.LinkDecorator
来自修饰器
- newFromDecoratorSize
类型:Microsoft.VisualStudio.Modeling.Diagrams.SizeD
修饰器中的大小
- newToDecorator
类型:Microsoft.VisualStudio.Modeling.Diagrams.LinkDecorator
对于修饰器
- newToDecoratorSize
类型:Microsoft.VisualStudio.Modeling.Diagrams.SizeD
对于修饰器中的大小
- invalidate
类型:System.Boolean
重新绘制连接器和它的周边内容。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。