This topic has not yet been rated - Rate this topic

ShapeElement.TranslateGeometryToRelativeBounds Method

Converts the absolute bounds to relative bounds for the shape's geometry.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
public RectangleD TranslateGeometryToRelativeBounds(
	RectangleD absoluteBounds
)

Parameters

absoluteBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
The absolute bounds for the shape's geometry.

Return Value

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

Implements

IGeometryHost.TranslateGeometryToRelativeBounds(RectangleD)
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ