menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class HelperMethods - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    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 true [is in UI tree].

    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved