WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ExtensionMethods

    Show / Hide Table of Contents

    Class ExtensionMethods

    Inheritance
    System.Object
    ExtensionMethods
    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: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.RichTextBoxAdv.WPF.dll
    Syntax
    public static class ExtensionMethods

    Methods

    Clear(StringBuilder)

    Declaration
    public static void Clear(this StringBuilder builder)
    Parameters
    Type Name Description
    System.Text.StringBuilder builder

    CopyTo(Stream, Stream)

    Declaration
    public static void CopyTo(this Stream stream, Stream output)
    Parameters
    Type Name Description
    System.IO.Stream stream
    System.IO.Stream output

    GetBytes(Stream)

    Declaration
    public static byte[] GetBytes(this Stream stream)
    Parameters
    Type Name Description
    System.IO.Stream stream
    Returns
    Type Description
    System.Byte[]

    SetSource(BitmapImage, Stream)

    Declaration
    public static void SetSource(this BitmapImage bitmapImage, Stream imageStream)
    Parameters
    Type Name Description
    System.Windows.Media.Imaging.BitmapImage bitmapImage
    System.IO.Stream imageStream
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved