←Select platform

GetMPRImage Method

Summary

Maps the specified MPR slice of the 3D volume to a file.

Syntax
C#
public void WriteMPRImage( 
   string fileName, 
   int resizeFactor, 
   Medical3DMPRPlaneType mprType, 
   int index 
) 

Parameters

fileName

The unique name of the file containing the mapped information.

resizeFactor

The resizing factor to be used on the MPR image.

mprType

A Medical3DMPRPlaneType value indicating the MPR image type.

index

The index of the slice.

Remarks

GetMPRImage writes the MPR image slice to a file. To generate a raster image out of the file, refer to RasterImage.

The fileName must be unique (if you use the same name as another file, it might overwrite the file of the another user). Avoid this by using GetGUID.

The resizeFactor is the factor by which to scale down the MPR image. Set this value to 1 if no resizing is to be performed.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical3D Assembly