LabelShape.GetAnchorMargins Method
Gets the size of the margins around a text field in the label shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Dichiarazione
Protected Shared Function GetAnchorMargins ( _
field As ShapeField _
) As SizeD
protected static SizeD GetAnchorMargins(
ShapeField field
)
protected:
static SizeD GetAnchorMargins(
ShapeField^ field
)
static member GetAnchorMargins :
field:ShapeField -> SizeD
protected static function GetAnchorMargins(
field : ShapeField
) : SizeD
Parameters
- field
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
The text field.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD
The size of the margins around the text field in the label shape.
.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.