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 Point3D, _ 
   ByVal update As Boolean _ 
)  
            public: 
void SetImagePosition(  
   int subCellIndex, 
   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 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

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