Search Results for

    Show / Hide Table of Contents

    Class WinFormsImageExtensions

    Convenience class for non-generic access to WinFormsImage image objects.

    Inheritance
    Object
    WinFormsImageExtensions
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Dicom.Imaging
    Assembly: cs.temp.dll.dll
    Syntax
    public static class WinFormsImageExtensions

    Methods

    AsBitmap(IImage)

    Convenience method to access WinForms IImage instance as WinForms . The returned will be disposed when the IImage is disposed.

    Declaration
    [Obsolete("use AsClonedBitmap or AsSharedBitmap instead.")]
    public static Bitmap AsBitmap(this IImage image)
    Parameters
    Type Name Description
    IImage image

    IImage object.

    Returns
    Type Description
    Bitmap

    contents of image.

    AsClonedBitmap(IImage)

    Convenience method to access WinForms IImage instance as WinForms . The returned is cloned and must be disposed by caller.

    Declaration
    public static Bitmap AsClonedBitmap(this IImage iimage)
    Parameters
    Type Name Description
    IImage iimage

    IImage object.

    Returns
    Type Description
    Bitmap

    contents of image.

    AsSharedBitmap(IImage)

    Convenience method to access WinForms IImage instance as WinForms . The returned will be disposed when the IImage is disposed.

    Declaration
    public static Bitmap AsSharedBitmap(this IImage iimage)
    Parameters
    Type Name Description
    IImage iimage

    IImage object.

    Returns
    Type Description
    Bitmap

    contents of image.

    In This Article
    Back to top Copyright (c) 2012-2021 fo-dicom contributors