DiagramExtensions
Class
Some RadDiagram related extensions and utilities.
Definition
Namespace:Telerik.WinControls.UI.Diagrams
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
C#
public static class DiagramExtensions
Inheritance: objectDiagramExtensions
Methods
Creates the diagram image.
C#
public static Bitmap CreateDiagramImage(this RadDiagram diagram, Rect enclosingBounds, Size returnImageSize = default, Brush backgroundBrush = null, Thickness margin = default, double dpi = 96)
The diagram.
enclosingBoundsRectThe enclosing bounds.
returnImageSizeSizeThe return image size.
backgroundBrushBrushThe background brush.
marginThicknessThe margin.
dpidoubleThe quality of the image.
Returns:Applies the panning and zooming for the point and returns the transformed point.
C#
public static Point GetTransformedPoint(this RadDiagramElement diagram, Point point)
The diagram.
pointPointThe point.
Returns: