LabelShape.GetAnchorMargins(ShapeField) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.