Class BitmapUtils
Bitmap utilities.
Inheritance
System.Object
BitmapUtils
Namespace: Telerik.Windows.Controls.Diagrams
Assembly: Telerik.Windows.Controls.Diagrams.dll
Syntax
public static class BitmapUtils : Object
Methods
CreateWriteableBitmap(UIElement, Rect, Size, Brush, Thickness, Double)
Creates a writeable bitmap of the given FrameworkElement.
Declaration
public static WriteableBitmap CreateWriteableBitmap(UIElement element, Rect enclosingBounds, Size returnImageSize, Brush backgroundBrush, Thickness margin, double dpi = 96)
Parameters
System.Windows.UIElement
element
|
System.Windows.Rect
enclosingBounds
|
System.Windows.Size
returnImageSize
|
System.Windows.Media.Brush
backgroundBrush
|
System.Windows.Thickness
margin
|
System.Double
dpi
|
Returns
System.Windows.Media.Imaging.WriteableBitmap
|