TranslateToRelativeBounds Method
TOC
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

ShapeElement.TranslateToRelativeBounds Method

Converts the absolute bounds to relative bounds for the shape.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

public RectangleD TranslateToRelativeBounds(
	RectangleD absoluteBounds
)

Parameters

absoluteBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

The absolute bounds for the shape.

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
The relative bounds for the shape.

Show:
© 2016 Microsoft