Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Returns the compliant bounds in world units relative to the top-left of the parent using this bounds rule.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
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
shape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe shape whose proposed bounds are to be checked for compliance with this bounds rule.
proposedBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleDThe proposed bounds in world units relative to the top-left of the shape's parent.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
.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.