次の方法で共有


LabelShape.GetAnchorMargins(ShapeField) Method

Definition

Gets the size of the Margins specified in the TextField's anchoring.

protected:
 static Microsoft::VisualStudio::Modeling::Diagrams::SizeD GetAnchorMargins(Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ field);
protected static Microsoft.VisualStudio.Modeling.Diagrams.SizeD GetAnchorMargins (Microsoft.VisualStudio.Modeling.Diagrams.ShapeField field);
static member GetAnchorMargins : Microsoft.VisualStudio.Modeling.Diagrams.ShapeField -> Microsoft.VisualStudio.Modeling.Diagrams.SizeD
Protected Shared Function GetAnchorMargins (field As ShapeField) As SizeD

Parameters

field
ShapeField

Text field to get margins from.

Returns

SizeD with margins in both directions.

Applies to