←Select platform

SetImagePosition Method

Summary

Set the image position of the cell frames based on the corresponding index.

Syntax

C#
VB
C++
public void SetImagePosition( 
   int subCellIndex, 
   Point3D imagePosition, 
   bool update 
) 
  
Public Sub SetImagePosition( _ 
   ByVal subCellIndex As Integer, _ 
   ByVal imagePosition As Leadtools.Medicalviewer.Point3D, _ 
   ByVal update As Boolean _ 
)  
             
            public: 
void SetImagePosition(  
   int subCellIndex, 
   Leadtools.Medicalviewer.Point3D imagePosition, 
   bool update 
)  
             

Parameters

subCellIndex
A zero-based index of the sub-cell.

imagePosition
The image position to be set.

update
true to update the cell data based on the newly inserted image position.

Remarks
  • The image position can be retrieved from the DicomDataSet.
  • for efficiency purposes, it's recommended not to set the 3rd parameter update to true in case of multi frame cell until the user sets the last image position, otherwise, the program will keep recalculating the internal data each time the user sets a the image position for each frame.
Example

For an example, refer to MedicalViewerReferenceLineProperties

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MedicalViewer Assembly