The SetImagePosition Method is available as an add-on to the LEADTOOLS Medical Imaging toolkits.
- 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.
Visual Basic (Declaration) | |
---|---|
Public Sub SetImagePosition( _ ByVal subCellIndex As Integer, _ ByVal imagePosition As Point3D, _ ByVal update As Boolean _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As MedicalViewerCell Dim subCellIndex As Integer Dim imagePosition As Point3D Dim update As Boolean instance.SetImagePosition(subCellIndex, imagePosition, update) |
C# | |
---|---|
public void SetImagePosition( int subCellIndex, Point3D imagePosition, bool update ) |
C++/CLI | |
---|---|
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.
for an example, refer to MedicalViewerReferenceLineProperties
- 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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7