Search Results for

    Show / Hide Table of Contents

    Class ImageDisposableBase<TImage>

    Base class for image implementations where underlying image type is disposable.

    Inheritance
    Object
    ImageBase<TImage>
    ImageDisposableBase<TImage>
    AndroidImage
    IOSImage
    WinFormsImage
    Implements
    IImage
    IDisposable
    Inherited Members
    ImageBase<TImage>.width
    ImageBase<TImage>.height
    ImageBase<TImage>.pixels
    ImageBase<TImage>.image
    ImageBase<TImage>.disposed
    ImageBase<TImage>.Pixels
    ImageBase<TImage>.As<T>()
    ImageBase<TImage>.Render(Int32, Boolean, Boolean, Int32)
    ImageBase<TImage>.DrawGraphics(IEnumerable<IGraphic>)
    ImageBase<TImage>.Clone()
    ImageBase<TImage>.Dispose()
    ImageBase<TImage>.ToBytes(Int32, Int32, Int32, Boolean, Boolean, Int32, Int32[])
    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 abstract class ImageDisposableBase<TImage> : ImageBase<TImage>, IImage, IDisposable where TImage : class, IDisposable
    Type Parameters
    Name Description
    TImage

    Disposable image implementation type.

    Constructors

    ImageDisposableBase(Int32, Int32, PinnedIntArray, TImage)

    Initializes an instance of the ImageDisposableBase<TImage> object.

    Declaration
    protected ImageDisposableBase(int width, int height, PinnedIntArray pixels, TImage image)
    Parameters
    Type Name Description
    Int32 width

    Image width.

    Int32 height

    Image height.

    PinnedIntArray pixels

    Array of pixels.

    TImage image

    Image object.

    Methods

    Dispose(Boolean)

    Dispose resources.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    Boolean disposing

    Dispose mode?

    Overrides
    Dicom.Imaging.ImageBase<TImage>.Dispose(System.Boolean)

    Finalize()

    Destructor to free up the image resources.

    Declaration
    protected void Finalize()

    Implements

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