다음을 통해 공유


SnapToPerimeterFollowingRotationRule.GetCompliantBounds Method

Gets the appropriate location.

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 GetCompliantBounds ( _
    shape As ShapeElement, _
    proposedBounds As RectangleD _
) As RectangleD
public override RectangleD GetCompliantBounds(
    ShapeElement shape,
    RectangleD proposedBounds
)
public:
virtual RectangleD GetCompliantBounds(
    ShapeElement^ shape, 
    RectangleD proposedBounds
) override
abstract GetCompliantBounds : 
        shape:ShapeElement * 
        proposedBounds:RectangleD -> RectangleD 
override GetCompliantBounds : 
        shape:ShapeElement * 
        proposedBounds:RectangleD -> RectangleD 
public override function GetCompliantBounds(
    shape : ShapeElement, 
    proposedBounds : RectangleD
) : RectangleD

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

.NET Framework Security

See Also

Reference

SnapToPerimeterFollowingRotationRule Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace