Class DrawingUtils
Presents static class for drawing process purpose.
Inheritance
System.Object
    DrawingUtils
  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.Shared
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public static class DrawingUtilsMethods
GetScreenShot(IntPtr, Size)
Gets the screen shot.
Declaration
public static Bitmap GetScreenShot(IntPtr winHandle, Size bounds)Parameters
| Type | Name | Description | 
|---|---|---|
| System.IntPtr | winHandle | The handle of the window, from which screenshot have to be made. | 
| System.Windows.Size | bounds | The bounds of the screenshot. | 
Returns
| Type | Description | 
|---|---|
| System.Drawing.Bitmap | Bitmap from select object. | 
PrepareFake(FrameworkElement, Border)
Prepares the fake.
Declaration
public static void PrepareFake(FrameworkElement mainElement, Border fake)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.FrameworkElement | mainElement | The main element. | 
| System.Windows.Controls.Border | fake | The fake border. | 
PrepareFake(UIElement)
Prepares the fake.
Declaration
public static DrawingBrush PrepareFake(UIElement mainElement)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.UIElement | mainElement | The main element. | 
Returns
| Type | Description | 
|---|---|
| System.Windows.Media.DrawingBrush | Drawing brush from drawing group. |