writeMPRImage Method

Summary

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

Syntax
C#
VB
C++
public void WriteMPRImage( 
   string fileName, 
   int resizeFactor, 
   Medical3DMPRPlaneType mprType, 
   int index 
) 
Public Sub WriteMPRImage( 
   ByVal fileName As String, 
   ByVal resizeFactor As Integer, 
   ByVal mprType As Medical3DMPRPlaneType, 
   ByVal index As Integer 
) 
public:  
   void WriteMPRImage( 
      String^ fileName, 
      Int32 resizeFactor, 
      Medical3DMPRPlaneType^ mprType, 
      Int32 index 
   ) 

Parameters

fileName

File mapping name.

⛔ CAUTION

fileName must be unique. Using the same name more than once might overwrite the file, even for another user.

resizeFactor

Resize factor of the MPR image.

mprType

The MPR image type.

index

The index of the slice.

Remarks
  • writeMPRImage writes the MPR image slice to a file, to generate a raster image out of the file. For more information, refer to RasterImage.
  • fileName must be unique. Using the same name more than once might overwrite the file, even of another user. Call GetGUID to obtain a unique ID.
  • resizeFactor is how much the MPR image resolution scales down. Setting this value to 1 prevents resolution changes.
Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical3D Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.