Table of Contents

Class DicomPage

Namespace
Aspose.Imaging.FileFormats.Dicom
Assembly
Aspose.Imaging.dll

It is class for work with DICOM files of the type multi frame

public class DicomPage : RasterCachedImage, IDisposable, IObjectWithBounds, IRasterImageArgb32PixelLoader, IRasterImageRawDataLoader, IHasXmpData, IHasMetadata
Inheritance
DicomPage
Implements
Inherited Members

Constructors

DicomPage(DicomImage, int)

Initializes a new instance of the DicomPage class.

public DicomPage(DicomImage image, int index)

Parameters

image DicomImage

The image.

index int

The index.

DicomPage(DicomImage, int, LoadOptions)

Initializes a new instance of the DicomPage class.

public DicomPage(DicomImage image, int index, LoadOptions loadOptions)

Parameters

image DicomImage

The image.

index int

The index.

loadOptions LoadOptions

The load options.

Properties

BitsPerPixel

Gets the image bits per pixel count.

public override int BitsPerPixel { get; }

Property Value

int

The image bits per pixel count.

FileFormat

Gets a value of file format

public override FileFormat FileFormat { get; }

Property Value

FileFormat

Height

Gets the image height.

public override int Height { get; }

Property Value

int

The image height.

Index

Gets the index of the current page.

public int Index { get; }

Property Value

int

The index.

Width

Gets the image width.

public override int Width { get; }

Property Value

int

The image width.

Methods

SaveData(Stream)

Saves the data.

protected override void SaveData(Stream stream)

Parameters

stream Stream

The stream to save data to.

UpdateDimensions(int, int)

Updates the image dimensions.

protected override void UpdateDimensions(int newWidth, int newHeight)

Parameters

newWidth int

The new image width.

newHeight int

The new image height.