共用方式為


BinaryLinkShapeBase.SetDecorators Method

Definition

Overloads

SetDecorators(LinkDecorator, LinkDecorator, Boolean)

Set the decorators for the line. User can optionally invalidate the line when called.

SetDecorators(LinkDecorator, SizeD, LinkDecorator, SizeD, Boolean)

Set the decorators for the line. User can optionally invalidate the line when called.

SetDecorators(LinkDecorator, LinkDecorator, Boolean)

Set the decorators for the line. User can optionally invalidate the line when called.

protected:
 void SetDecorators(Microsoft::VisualStudio::Modeling::Diagrams::LinkDecorator ^ newFromDecorator, Microsoft::VisualStudio::Modeling::Diagrams::LinkDecorator ^ newToDecorator, bool invalidate);
protected void SetDecorators (Microsoft.VisualStudio.Modeling.Diagrams.LinkDecorator newFromDecorator, Microsoft.VisualStudio.Modeling.Diagrams.LinkDecorator newToDecorator, bool invalidate);
member this.SetDecorators : Microsoft.VisualStudio.Modeling.Diagrams.LinkDecorator * Microsoft.VisualStudio.Modeling.Diagrams.LinkDecorator * bool -> unit
Protected Sub SetDecorators (newFromDecorator As LinkDecorator, newToDecorator As LinkDecorator, invalidate As Boolean)

Parameters

newFromDecorator
LinkDecorator
newToDecorator
LinkDecorator
invalidate
Boolean

Applies to

SetDecorators(LinkDecorator, SizeD, LinkDecorator, SizeD, Boolean)

Set the decorators for the line. User can optionally invalidate the line when called.

protected:
 void SetDecorators(Microsoft::VisualStudio::Modeling::Diagrams::LinkDecorator ^ newFromDecorator, Microsoft::VisualStudio::Modeling::Diagrams::SizeD newFromDecoratorSize, Microsoft::VisualStudio::Modeling::Diagrams::LinkDecorator ^ newToDecorator, Microsoft::VisualStudio::Modeling::Diagrams::SizeD newToDecoratorSize, bool invalidate);
protected void SetDecorators (Microsoft.VisualStudio.Modeling.Diagrams.LinkDecorator newFromDecorator, Microsoft.VisualStudio.Modeling.Diagrams.SizeD newFromDecoratorSize, Microsoft.VisualStudio.Modeling.Diagrams.LinkDecorator newToDecorator, Microsoft.VisualStudio.Modeling.Diagrams.SizeD newToDecoratorSize, bool invalidate);
member this.SetDecorators : Microsoft.VisualStudio.Modeling.Diagrams.LinkDecorator * Microsoft.VisualStudio.Modeling.Diagrams.SizeD * Microsoft.VisualStudio.Modeling.Diagrams.LinkDecorator * Microsoft.VisualStudio.Modeling.Diagrams.SizeD * bool -> unit
Protected Sub SetDecorators (newFromDecorator As LinkDecorator, newFromDecoratorSize As SizeD, newToDecorator As LinkDecorator, newToDecoratorSize As SizeD, invalidate As Boolean)

Parameters

newFromDecorator
LinkDecorator

from decorator

newFromDecoratorSize
SizeD

Size for the from decorator

newToDecorator
LinkDecorator

to decorator

newToDecoratorSize
SizeD

Size for the to decorator

invalidate
Boolean

invalidate or not

Applies to