Click or drag to resize
CommonExtensionsGetEnclosingBoundsWithoutTransform Method
Gets the enclosing bounds of the list of diagram items.

Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.WinControls.RadDiagram (in Telerik.WinControls.RadDiagram.dll) Version: 2018.3.1016.40 (2018.3.1016.40)
Syntax
public static Rect GetEnclosingBoundsWithoutTransform(
	this IEnumerable<IDiagramItem> items,
	bool isGraphVirtualized = false,
	bool isShapeActualBounds = true,
	bool useControlBoundingRectangle = false
)

Parameters

items
Type: System.Collections.GenericIEnumerableIDiagramItem
The diagram items.
isGraphVirtualized (Optional)
Type: SystemBoolean
If set to true [is graph virtualized].
isShapeActualBounds (Optional)
Type: SystemBoolean
Indicates whether to get the actual (rotated) shape bounds or the normal bounds.
useControlBoundingRectangle (Optional)
Type: SystemBoolean

Return Value

Type: Rect
enclosingBounds

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableIDiagramItem. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also