Class HelperMethods
Inheritance
System.Object
HelperMethods
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.RichTextBoxAdv.WPF.dll
Syntax
public static class HelperMethods
Methods
CreateBitmap(UIElement, Boolean)
Creates the bitmap.
Declaration
public static BitmapSource CreateBitmap(UIElement element, bool isInUiTree)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.UIElement | element | The element. |
System.Boolean | isInUiTree | if set to |
Returns
Type |
---|
System.Windows.Media.Imaging.BitmapSource |
GetBytes(BitmapSource)
Gets the bytes.
Declaration
public static byte[] GetBytes(BitmapSource bitmap)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Media.Imaging.BitmapSource | bitmap | The bitmap. |
Returns
Type |
---|
System.Byte[] |
IsIntersecting(Rect, Rect)
Finds whether the two rectangle intersects each other
Declaration
public static bool IsIntersecting(this Rect rect, Rect rect1)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Rect | rect | |
System.Windows.Rect | rect1 |
Returns
Type |
---|
System.Boolean |