Class BitmapUtils
Bitmap utilities.
Inheritance
System.Object
BitmapUtils
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Controls.Diagrams
Assembly: Telerik.Windows.Controls.Diagrams.dll
Syntax
public static class BitmapUtils
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
|