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