MindFusion.Wpf Pack Programmer's Guide
Path.GetWeight Method
See Also
 





Calculates the weight of this Path by accumulating the Weight of all participating Diagram elements.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public double GetWeight (
    bool incNodes,
    bool incLinks
)

Visual Basic  Copy Code

Public Function GetWeight( _
    incNodes As Boolean, _
    incLinks As Boolean _
) As Double

 Parameters

incNodes
A boolean value, which specifies whether the Weight of DiagramNode elements will be considered.
incLinks
A boolean value, which specifies whether the Weight of DiagramLink elements will be considered.

 Return Value

A double value that represents the total weight of the elements in this Path according to the incNodes and incLinks parameters.

 See Also

Path Members
Path Class
MindFusion.Diagramming.Wpf Namespace