public final class DicomDevice extends ImageDevice
Represents image device that helps to save pdf document pages into Dicom format.
| Constructor and Description |
|---|
DicomDevice()
Initializes a new instance of the
DicomDevice class with default resolution. |
DicomDevice(int width,
int height)
Initializes a new instance of the
DicomDevice class with provided image dimensions,
with default resolution (=150). |
DicomDevice(int width,
int height,
Resolution resolution)
Initializes a new instance of the
DicomDevice class with provided image dimensions and
resolution. |
DicomDevice(PageSize pageSize)
Initializes a new instance of the
DicomDevice class with provided page size,
with default resolution (=150). |
DicomDevice(PageSize pageSize,
Resolution resolution)
Initializes a new instance of the
DicomDevice class with provided page size and
resolution. |
DicomDevice(Resolution resolution)
Initializes a new instance of the
DicomDevice class. |
| Modifier and Type | Method and Description |
|---|---|
void |
process(Page page,
OutputStream output)
Converts the page into Dicom and saves it in the output stream.
|
void |
processInternal(Page page,
com.aspose.ms.System.IO.Stream output)
Performs some operation on the given page, e.g.
|
getBitmap, getCoordinateType, getCropRectangle, getFormPresentationMode, getHeight, getRenderingOptions, getResolution, getWidth, isShadingPerformanceHigh, setCoordinateType, setCropRectangle, setFormPresentationMode, setRenderingOptions, setShadingPerformanceHighprocess, processpublic DicomDevice()
Initializes a new instance of the DicomDevice class with default resolution.
public DicomDevice(Resolution resolution)
Initializes a new instance of the DicomDevice class.
resolution - Resolution for the result image file, see Resolution(ImageDevice.getResolution()) class.public DicomDevice(PageSize pageSize)
Initializes a new instance of the DicomDevice class with provided page size,
with default resolution (=150).
pageSize - Page size of the output image.public DicomDevice(int width,
int height)
Initializes a new instance of the DicomDevice class with provided image dimensions,
with default resolution (=150).
width - Image output width.height - Image output height.public DicomDevice(PageSize pageSize, Resolution resolution)
Initializes a new instance of the DicomDevice class with provided page size and
resolution.
pageSize - Page size of the output image.resolution - Resolution for the result image file, see Resolution(ImageDevice.getResolution()) class.public DicomDevice(int width,
int height,
Resolution resolution)
Initializes a new instance of the DicomDevice class with provided image dimensions and
resolution.
width - Image output width.height - Image output height.resolution - Resolution for the result image file, see Resolution(ImageDevice.getResolution()) class.public void process(Page page, OutputStream output)
Converts the page into Dicom and saves it in the output stream.
process in class PageDevicepage - The page to convert.output - Output stream with image.public void processInternal(Page page, com.aspose.ms.System.IO.Stream output)
PageDevicePerforms some operation on the given page, e.g. converts page into graphic image.
processInternal in class PageDevicepage - The page to process.output - This stream contains the results of processing.Copyright © 2025 Aspose. All Rights Reserved.