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