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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.