TextField.GetMinimumSize Method
Gets the minimum width and heightfor this ShapeField in world units
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣言
Public Overrides Function GetMinimumSize ( _
parentShape As ShapeElement _
) As SizeD
public override SizeD GetMinimumSize(
ShapeElement parentShape
)
public:
virtual SizeD GetMinimumSize(
ShapeElement^ parentShape
) override
abstract GetMinimumSize :
parentShape:ShapeElement -> SizeD
override GetMinimumSize :
parentShape:ShapeElement -> SizeD
public override function GetMinimumSize(
parentShape : ShapeElement
) : SizeD
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The ShapeElement instance
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD
.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.