Initializes a new instance of InteractiveService with the specified parameters.
public InteractiveService(
FrameworkElement owner,
FrameworkElement targetElement
)
Public Function New( _
ByVal owner As FrameworkElement, _
ByVal targetElement As FrameworkElement _
)
public InteractiveService(
FrameworkElement owner,
FrameworkElement targetElement
)
function InteractiveService(
owner ,
targetElement
)
owner
The owner of the service. Optional and can be null. This is not used by InteractiveService but can be used by the application to pass any class and extra data. ImageViewer passes this
for this parameter.
targetElement
The target canvas. This element will be used to check if the event is triggered on its surface and all coordinates will be translated based on its position. Required and must be a valid canvas.
The created InteractiveService object.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET