Returns the profit model that is used to rank the available positions for each label.

Namespace: yWorks.yFiles.Layout.Labeling
Assembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 2.4.0.0

Syntax

C#
public virtual double GetProfit( LabelCandidate l )
Visual Basic
Public Overridable Function GetProfit ( _ l As LabelCandidate _ ) As Double

Remarks

Returns the profit model that is used to rank the available positions for each label. The higher the rank of a position, the more likely it will be chosen by the algorithm. By default an instance of type LabelRanking is set.

See Also