Delen via


NodeShape.ExcludeShapeFromSizeCalculation Method

If true the shape will not be taken into account to calculate the size of the parent shape

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Protected Overridable Function ExcludeShapeFromSizeCalculation ( _
    shape As NodeShape _
) As Boolean
protected virtual bool ExcludeShapeFromSizeCalculation(
    NodeShape shape
)
protected:
virtual bool ExcludeShapeFromSizeCalculation(
    NodeShape^ shape
)
abstract ExcludeShapeFromSizeCalculation : 
        shape:NodeShape -> bool  
override ExcludeShapeFromSizeCalculation : 
        shape:NodeShape -> bool
protected function ExcludeShapeFromSizeCalculation(
    shape : NodeShape
) : boolean

Parameters

Return Value

Type: System.Boolean
True if the shape needs to be excluded from the size calculation

Remarks

By default all port shapes are excluded

.NET Framework Security

See Also

Reference

NodeShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace