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

声明
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

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD
The size of the margins around the text field in the label shape.

.NET Framework Security

See Also

Reference

LabelShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace