The following table lists .NET MedicalViewer functions and provides cross-references to their COM counterparts:
.Net Syntax | COM Interop Syntax | Related Properties |
public Generic MedicalViewerCellCollectionCells | LTDMedicalViewerInterop.IMedicalViewerCellIndexProperty IMedicalViewer.Cells | Int32 IMedicalViewer.CellsCount |
event EventHandler<MedicalViewerDeleteEventArgs> DeleteAnnotation | void OnDeleteAnnotation(ref Boolean delete); |
LTDInterop.IInt32IndexProperty IMedicalViewer.CellIndexes Int32 IMedicalViewer.CellIndexesCount |
event EventHandler<MedicalViewerDeleteEventArgs> DeleteCell | void OnDeleteCell(ref Boolean delete); |
LTDInterop.IInt32IndexProperty IMedicalViewer.CellIndexes Int32 IMedicalViewer.CellIndexesCount |
event EventHandler<MedicalViewerKeyEventArgs> UserActionKeyDown | void OnUserActionKeyDown(Int32 actionID, Int32 cellIndex, Keys keyCode, Keys keyData, int keyValue, Keys modifiers, bool alt, bool shift, bool control); |
LTDInterop.IRasterImageIndexProperty IMedicalViewer.Images Int32 IMedicalViewer.ImagesCount |
event EventHandler<MedicalViewerKeyEventArgs> UserActionKeyUp | void OnUserActionKeyUp(Int32 actionID, Int32 cellIndex, Keys keyCode, Keys keyData, int keyValue, Keys modifiers, bool alt, bool shift, bool control); |
LTDInterop.IRasterImageIndexProperty IMedicalViewer.Images Int32 IMedicalViewer.ImagesCount |
event EventHandler<MedicalViewerMouseEventArgs> UserActionMouseWheel | void OnUserActionMouseWheel(Int32 actionID, Int32 cellIndex, MouseButtons Button, int clicks, int delta, LTDInterop.Point location, int x, int y); |
LTDInterop.IRasterImageIndexProperty IMedicalViewer.Images Int32 IMedicalViewer.ImagesCount |
event EventHandler<MedicalViewerMouseEventArgs> UserActionMouseDown | void OnUserActionMouseDown(Int32 actionID, Int32 cellIndex, MouseButtons Button, int clicks, int delta, LTDInterop.Point location, int x, int y); |
LTDInterop.IRasterImageIndexProperty IMedicalViewer.Images Int32 IMedicalViewer.ImagesCount |
event EventHandler<MedicalViewerMouseEventArgs> UserActionMouseUp | void OnUserActionMouseUp(Int32 actionID, Int32 cellIndex, MouseButtons Button, int clicks, int delta, LTDInterop.Point location, int x, int y); |
LTDInterop.IRasterImageIndexProperty IMedicalViewer.Images Int32 IMedicalViewer.ImagesCount |
event EventHandler<MedicalViewerMouseEventArgs> UserActionMouseMove | void OnUserActionMouseMove(Int32 actionID, Int32 cellIndex, MouseButtons Button, int clicks, int delta, LTDInterop.Point location, int x, int y); |
LTDInterop.IRasterImageIndexProperty IMedicalViewer.Images Int32 IMedicalViewer.ImagesCount |
void RemoveSelectedCells(); | ||
void RemoveAllCells(); | ||
void RemoveCell(Int32 cellIndex); | ||
void FreezeSelectedCells(Boolean freeze); | ||
void FreezeAllCells(Boolean freeze); | ||
void FreezeCell(Int32 cellIndex, Boolean freeze); | ||
void SelectAllCells(Boolean select); | ||
void InvertSelectedCells(); | ||
void InsertCell(Int32 cellIndex, LTDMedicalViewerInterop.MedicalViewerCell cell); | ||
void AddCell(LTDMedicalViewerInterop.MedicalViewerCell cell); | ||
void RepositionCell(Int32 cellIndex, Int32 targetCellIndex, Boolean swap); | ||
void EnableEvent(LTDMedicalViewerInterop.MedicalViewerEventsIDs EventNameStringId); | ||
void DisableEvent(LTDMedicalViewerInterop.MedicalViewerEventsIDs EventNameStringId); | ||
public int Scale { get; set; } | Int32 ScaleValue { get; set; } | |
public MedicalViewerBaseAction GetActionProperties(MedicalViewerActionType actionType) |
LTDMedicalViewerInterop.MedicalViewerWindowLevel GetWindowLevelActionProperties(); LTDMedicalViewerInterop.MedicalViewerScale GetScaleActionProperties(); LTDMedicalViewerInterop.MedicalViewerOffset GetOffsetActionProperties(); LTDMedicalViewerInterop.MedicalViewerStack GetStackActionProperties(); LTDMedicalViewerInterop.MedicalViewerMagnifyGlass GetMagnifyGlassActionProperties(); LTDMedicalViewerInterop.MedicalViewerAlpha GetAlphaActionProperties(); LTDMedicalViewerInterop.MedicalViewerAnnotationRuler GetAnnotationRulerActionProperties(); LTDMedicalViewerInterop.MedicalViewerAnnotationAngle GetAnnotationAngleActionProperties(); LTDMedicalViewerInterop.MedicalViewerAnnotationText GetAnnotationTextActionProperties(); LTDMedicalViewerInterop.MedicalViewerAnnotationArrow GetAnnotationArrowActionProperties(); LTDMedicalViewerInterop.MedicalViewerAnnotationRectangle GetAnnotationRectangleActionProperties(); LTDMedicalViewerInterop.MedicalViewerAnnotationEllipse GetAnnotationEllipseActionProperties(); LTDMedicalViewerInterop.MedicalViewerAnnotationHilite GetAnnotationHiliteActionProperties(); LTDMedicalViewerInterop.MedicalViewerRegion GetRegionActionProperties(LTDMedicalViewerInterop.MedicalViewerRegionActionType regionActionType); |
|
public MedicalViewerBaseAction GetActionProperties(MedicalViewerActionType actionType, int cellIndex) |
LTDMedicalViewerInterop.MedicalViewerWindowLevel GetWindowLevelActionProperties(Int32 cellIndex); LTDMedicalViewerInterop.MedicalViewerScale GetScaleActionProperties(Int32 cellIndex); LTDMedicalViewerInterop.MedicalViewerOffset GetOffsetActionProperties(Int32 cellIndex); LTDMedicalViewerInterop.MedicalViewerStack GetStackActionProperties(Int32 cellIndex); LTDMedicalViewerInterop.MedicalViewerMagnifyGlass GetMagnifyGlassActionProperties(Int32 cellIndex); LTDMedicalViewerInterop.MedicalViewerAlpha GetAlphaActionProperties(Int32 cellIndex); LTDMedicalViewerInterop.MedicalViewerAnnotationRuler GetAnnotationRulerActionProperties(Int32 cellIndex); LTDMedicalViewerInterop.MedicalViewerAnnotationAngle GetAnnotationAngleActionProperties(Int32 cellIndex); LTDMedicalViewerInterop.MedicalViewerAnnotationText GetAnnotationTextActionProperties(Int32 cellIndex); LTDMedicalViewerInterop.MedicalViewerAnnotationArrow GetAnnotationArrowActionProperties(Int32 cellIndex); LTDMedicalViewerInterop.MedicalViewerAnnotationRectangle GetAnnotationRectangleActionProperties(Int32 cellIndex); LTDMedicalViewerInterop.MedicalViewerAnnotationEllipse GetAnnotationEllipseActionProperties(Int32 cellIndex); LTDMedicalViewerInterop.MedicalViewerAnnotationHilite GetAnnotationHiliteActionProperties(Int32 cellIndex); LTDMedicalViewerInterop.MedicalViewerRegion GetRegionActionProperties(LTDMedicalViewerInterop.MedicalViewerRegionActionType regionActionType, Int32 cellIndex); |
|
public MedicalViewerBaseAction GetActionProperties(MedicalViewerActionType actionType, int cellIndex, int subCellIndex) |
LTDMedicalViewerInterop.MedicalViewerWindowLevel GetWindowLevelActionProperties(Int32 cellIndex, Int32 subCellIndex); LTDMedicalViewerInterop.MedicalViewerScale GetScaleActionProperties(Int32 cellIndex, Int32 subCellIndex); LTDMedicalViewerInterop.MedicalViewerOffset GetOffsetActionProperties(Int32 cellIndex, Int32 subCellIndex); LTDMedicalViewerInterop.MedicalViewerStack GetStackActionProperties(Int32 cellIndex, Int32 subCellIndex); LTDMedicalViewerInterop.MedicalViewerMagnifyGlass GetMagnifyGlassActionProperties(Int32 cellIndex, Int32 subCellIndex); LTDMedicalViewerInterop.MedicalViewerAlpha GetAlphaActionProperties(Int32 cellIndex, Int32 subCellIndex); LTDMedicalViewerInterop.MedicalViewerAnnotationRuler GetAnnotationRulerActionProperties(Int32 cellIndex, Int32 subCellIndex); LTDMedicalViewerInterop.MedicalViewerAnnotationAngle GetAnnotationAngleActionProperties(Int32 cellIndex, Int32 subCellIndex); LTDMedicalViewerInterop.MedicalViewerAnnotationText GetAnnotationTextActionProperties(Int32 cellIndex, Int32 subCellIndex); LTDMedicalViewerInterop.MedicalViewerAnnotationArrow GetAnnotationArrowActionProperties(Int32 cellIndex, Int32 subCellIndex); LTDMedicalViewerInterop.MedicalViewerAnnotationRectangle GetAnnotationRectangleActionProperties(Int32 cellIndex, Int32 subCellIndex); LTDMedicalViewerInterop.MedicalViewerAnnotationEllipse GetAnnotationEllipseActionProperties(Int32 cellIndex, Int32 subCellIndex); LTDMedicalViewerInterop.MedicalViewerAnnotationHilite GetAnnotationHiliteActionProperties(Int32 cellIndex, Int32 subCellIndex); LTDMedicalViewerInterop.MedicalViewerRegion GetRegionActionProperties(LTDMedicalViewerInterop.MedicalViewerRegionActionType regionActionType, Int32 cellIndex, Int32 subCellIndex); |
|
public void SetActionProperties(MedicalViewerActionType actionType, MedicalViewerBaseAction actionProperties); |
void SetWindowLevelActionProperties(LTDMedicalViewerInterop.MedicalViewerWindowLevel actionProperties); void SetScaleActionProperties(LTDMedicalViewerInterop.MedicalViewerScale actionProperties); void SetOffsetActionProperties(LTDMedicalViewerInterop.MedicalViewerOffset actionProperties); void SetStackActionProperties(LTDMedicalViewerInterop.MedicalViewerStack actionProperties); void SetMagnifyGlassActionProperties(LTDMedicalViewerInterop.MedicalViewerMagnifyGlass actionProperties); void SetAlphaActionProperties(LTDMedicalViewerInterop.MedicalViewerAlpha actionProperties); void SetAnnotationRulerActionProperties(LTDMedicalViewerInterop.MedicalViewerAnnotationRuler actionProperties); void SetAnnotationAngleActionProperties(LTDMedicalViewerInterop.MedicalViewerAnnotationAngle actionProperties); void SetAnnotationTextActionProperties(LTDMedicalViewerInterop.MedicalViewerAnnotationText actionProperties); void SetAnnotationArrowActionProperties(LTDMedicalViewerInterop.MedicalViewerAnnotationArrow actionProperties); void SetAnnotationRectangleActionProperties(LTDMedicalViewerInterop.MedicalViewerAnnotationRectangle actionProperties); void SetAnnotationEllipseActionProperties(LTDMedicalViewerInterop.MedicalViewerAnnotationEllipse actionProperties); void SetAnnotationHiliteActionProperties(LTDMedicalViewerInterop.MedicalViewerAnnotationHilite actionProperties); void SetRegionActionProperties(LTDMedicalViewerInterop.MedicalViewerRegionActionType regionActionType, LTDMedicalViewerInterop.MedicalViewerRegion actionProperties); |
|
public void SetActionProperties(MedicalViewerActionType actionType, MedicalViewerBaseAction actionProperties, int cellIndex); |
void SetWindowLevelActionProperties(LTDMedicalViewerInterop.MedicalViewerWindowLevel actionProperties, Int32 cellIndex); void SetScaleActionProperties(LTDMedicalViewerInterop.MedicalViewerScale actionProperties, Int32 cellIndex); void SetOffsetActionProperties(LTDMedicalViewerInterop.MedicalViewerOffset actionProperties, Int32 cellIndex); void SetStackActionProperties(LTDMedicalViewerInterop.MedicalViewerStack actionProperties, Int32 cellIndex); void SetMagnifyGlassActionProperties(LTDMedicalViewerInterop.MedicalViewerMagnifyGlass actionProperties, Int32 cellIndex); void SetAlphaActionProperties(LTDMedicalViewerInterop.MedicalViewerAlpha actionProperties, Int32 cellIndex); void SetAnnotationRulerActionProperties(LTDMedicalViewerInterop.MedicalViewerAnnotationRuler actionProperties, Int32 cellIndex); void SetAnnotationAngleActionProperties(LTDMedicalViewerInterop.MedicalViewerAnnotationAngle actionProperties, Int32 cellIndex); void SetAnnotationTextActionProperties(LTDMedicalViewerInterop.MedicalViewerAnnotationText actionProperties, Int32 cellIndex); void SetAnnotationArrowActionProperties(LTDMedicalViewerInterop.MedicalViewerAnnotationArrow actionProperties, Int32 cellIndex); void SetAnnotationRectangleActionProperties(LTDMedicalViewerInterop.MedicalViewerAnnotationRectangle actionProperties, Int32 cellIndex); void SetAnnotationEllipseActionProperties(LTDMedicalViewerInterop.MedicalViewerAnnotationEllipse actionProperties, Int32 cellIndex); void SetAnnotationHiliteActionProperties(LTDMedicalViewerInterop.MedicalViewerAnnotationHilite actionProperties, Int32 cellIndex); void SetRegionActionProperties(LTDMedicalViewerInterop.MedicalViewerRegionActionType regionActionType, LTDMedicalViewerInterop.MedicalViewerRegion actionProperties, Int32 cellIndex); |
|
public void SetActionProperties(MedicalViewerActionType actionType, MedicalViewerBaseAction actionProperties, int cellIndex, int subCellIndex); |
void SetWindowLevelActionProperties(LTDMedicalViewerInterop.MedicalViewerWindowLevel actionProperties, Int32 cellIndex, Int32 subCellIndex); void SetScaleActionProperties(LTDMedicalViewerInterop.MedicalViewerScale actionProperties, Int32 cellIndex, Int32 subCellIndex); void SetOffsetActionProperties(LTDMedicalViewerInterop.MedicalViewerOffset actionProperties, Int32 cellIndex, Int32 subCellIndex); void SetStackActionProperties(LTDMedicalViewerInterop.MedicalViewerStack actionProperties, Int32 cellIndex, Int32 subCellIndex); void SetMagnifyGlassActionProperties(LTDMedicalViewerInterop.MedicalViewerMagnifyGlass actionProperties, Int32 cellIndex, Int32 subCellIndex); void SetAlphaActionProperties(LTDMedicalViewerInterop.MedicalViewerAlpha actionProperties, Int32 cellIndex, Int32 subCellIndex); void SetAnnotationRulerActionProperties(LTDMedicalViewerInterop.MedicalViewerAnnotationRuler actionProperties, Int32 cellIndex, Int32 subCellIndex); void SetAnnotationAngleActionProperties(LTDMedicalViewerInterop.MedicalViewerAnnotationAngle actionProperties, Int32 cellIndex, Int32 subCellIndex); void SetAnnotationTextActionProperties(LTDMedicalViewerInterop.MedicalViewerAnnotationText actionProperties, Int32 cellIndex, Int32 subCellIndex); void SetAnnotationArrowActionProperties(LTDMedicalViewerInterop.MedicalViewerAnnotationArrow actionProperties, Int32 cellIndex, Int32 subCellIndex); void SetAnnotationRectangleActionProperties(LTDMedicalViewerInterop.MedicalViewerAnnotationRectangle actionProperties, Int32 cellIndex, Int32 subCellIndex); void SetAnnotationEllipseActionProperties(LTDMedicalViewerInterop.MedicalViewerAnnotationEllipse actionProperties, Int32 cellIndex, Int32 subCellIndex); void SetAnnotationHiliteActionProperties(LTDMedicalViewerInterop.MedicalViewerAnnotationHilite actionProperties, Int32 cellIndex, Int32 subCellIndex); void SetRegionActionProperties(LTDMedicalViewerInterop.MedicalViewerRegionActionType regionActionType, LTDMedicalViewerInterop.MedicalViewerRegion actionProperties, Int32 cellIndex, Int32 subCellIndex); |
The following topics provide comparisons between COM functions and their .NET counterparts: